![]() The compiler can also check your code for errors. What the compiler generates is the machine code. Whether a compiler is inbuilt or you need to use it as a separate, stand-alone tool, whenever you want to run your program on a computer or a mobile phone, it needs to be first compiled and changed into some sort of machine code. Sometimes they need to be run separately as standalone tools. Sometimes a compiler is inbuilt into the software that you’re using to write your program. These text files that contain your programming code first need to be converted into a set of machine language instructions before they can be understood by a computer or any other machine that behaves like a computer (for example your mobile phone). Although most computers and other devices can easily read text files, when it comes to executing instructions in a text file, every computer falls short of expectations. When you are writing a program in a language like C++, you mostly write it as text.
0 Comments
Leave a Reply. |