c language error log

1. Pretreatment Error

       Inside #include <> // System

  #include "" // custom

  Experience not find ------ Solution: gcc -I directory to find the header file with the -o build 001.c

                                                    gcc - I./inc -o build 001.c

2. Compile error

  Syntax errors;} and {problems

3. Link Error

  Lack of raw materials (undefined reference to "function") --- Solution: Looking for a label if realized, whether the link with the link

       multiple definitation of "function": Description achieve many times, here to keep only once to realize just fine.

 

Guess you like

Origin www.cnblogs.com/ivyharding/p/11080986.html