At 2:54 in the video, navigate to instead of.Note: In the video above, some of the instructions for downloading and installing g++ are outdated. Running Hello World via Command Prompt (Windows).On Windows, it’s called the Command Prompt. The executable is loaded from the disk to memory and the computer’s CPU ( Central Processing Unit) executes the program one instruction at a time. A linker then links the object code with standard library routines that the program may use and creates an executable image which is also saved on disk, usually as a file with the file name without any extension (e.g. Typically C++ source code files are given the suffix:Ī compiler translates the C++ program into machine language code which it stores on the disk as a file with the extension. What you read and write is called source code (usually it’s in an English-like language like C++), and what the computer executes is called executable, object code, or machine code (a machine language). That means that to get a program to run, you must first translate it from the human-readable form to something a machine can “understand.” That translation is done by a program called a compiler.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |