[table of
contents] [previous section] [next
section]
3.How to add
source files, head files to your project?
Open workspace

Figure
5
![]()

Figure 6 Source Files
2) Add source to the
project. Click “Source Files” in Figure 6;
Select project, click
“add to project”, select “Files”; for example , click hw03.cpp, This source
file is added to the empty project. Then if you click “Source Files”, hw03.cpp
is shown in Figure 8. Click “hw03.cpp”, The source code is shown to you.
3) Add header files
to the project. Repeat 2). Click “Header Files” in Figure 6;
Select project, click
“add to project”, select “Files”; for example , click hw03.h, This header file is added to the empty project. Then if
you click “Header Files”, hw03.h is shown in Figure 9. Click
“hw03.h”, The source
code is shown to you.
[table of
contents] [previous section] [next
section]