Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 647 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 647 Bytes

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