vcalderon2009 / Cprogramming

C programming tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C Programming Examples

Building executables

  • To build all executables type:

      make 
    
  • To build a specific executable type:

      make name_of_c_program
    
  • To delete all executables type:

      make clean
    

Running executables

  • Type:

      ./executable_name
    

Files

If you are learning C programming for the first time, the recommended order for exploring these examples is the following:

  1. hello_world.c
  2. variable_types.c
  3. flow_control.c
  4. loops.c
  5. pointers.c
  6. functions.c
  7. structures.c
  8. pass_command_line_options.c
  9. dynamically_allocated_arrays.c
  10. file_IO.c

About

C programming tutorial

License:MIT License


Languages

Language:C 92.7%Language:Makefile 7.3%