When you first got into basic C programming, some people were using dev-C ++ compilers, some were using Visual C++ 6.0, some were using Codeblocks, and now there are even mobile compilers that allow you to use AC while you’re on the toilet. Different compilers for beginners, may not be so understand the principle of compilation, feel successful compilation, but do not delve into the principle, sometimes you compiled exe even 360 and other anti-virus software judged as virus samples, ironic. So knowing the compiler correctly can have a good impact on your programming career.

 

Some people get different results with the same code on different compilers, such as +++ on the left and right. I want to remind everybody is using a mobile phone as less as possible to the compiler. Time many students like to use mobile phones to the compiler. Mobile phone is just a compiler castration platform tool set, many of them is not standard, so in general I would suggest that you use vs compiler, this is the most professional, and the future if you are a c + +, you can also use the compiler to complete your project.

 

Part of the compiler’s job is to look for errors in program code. The compiler cannot detect whether the meaning of a program is correct, but it can detect errors in its form. It gives you the most common errors, and of course back in the days of primitive binary programming, where you had zeros and ones, you couldn’t make a single digit error, that would be the hardest thing to do to a programmer, kind of like a direct text editor editing code and then compiling it. What the compiler can provide is syntax errors, type errors, declaration errors, etc.

  • C++98, C++03, C++11, C++98, C++03, C++11 Now C++11 is where every company is starting to introduce it on a large scale