One method you can use to write a C++ program is to use a text editor, such as the Windows
text editor, Notepad. You can use any text editor, but the steps in this book assume you are
using Notepad. To start Notepad, click the Start button, select Programs or All Programs,
select Accessories, and then select Notepad. Once Notepad starts, you simply type in your
C++ source code. Source code is the name used for the statements that make up a C++ program.
When you save the file that contains the source code, it is important to give the file a meaningful
name, and then add the extension .cpp. For the Hello World program, an appropriate
name for the source code file is HelloWorld.cpp. Of course, it is also important to
remember the location of the folder in which you choose to save your source code file.
You move on to Step 2 of the C++ development cycle after saving your source code file.
In Step 2, you compile the source code.
0 comments:
Post a Comment