Gcc re-runs this program in the debugger

Source: Internet
Author: User
Gcc re-runs this program in the debugger-Linux general technology-Linux programming and kernel information. The following is a detailed description. Today I wrote a basic small program about socket. c can be compiled by client. the c syntax is correct. It appears at Compilation: "error: re-run this program in the debugger"

I was dizzy at the time. I checked the code and there was no syntax error. I checked the relevant information on the Internet. It may be the difference between '#' and '#'. I checked it, but it was still correct. There must be Chinese characters in the program. This is what my team members told me. I will check it carefully. The Code contains English characters. Because the code edited using gedit does not show the differences between Chinese and English in space. At the suggestion of the students, enter the vim editing mode and check that there are Chinese characters in the blank fields. I finally found him.

This is also a warning for me in the future programming process: During programming, I cannot program in Intelligent pinyin, because I can speak Chinese for a while and can speak English for a while, sometimes I do not know whether it is Chinese or English in the blank field, causing errors!
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.