This project takes approximately 2 minutes to configure. Before
you can run the sample, you must first install an external C/C++ compiler.
About this task
To configure and run the sample:
Procedure
- In the C/C++ Projects Explorer view, expand
the Shapes project, and double-click main.cpp.
- Click .
- In the Run window, from the Configurations list,
double-click C/C++ Local Application.
- In the Name field, type Shapes.
- In the C/C++ Application field, click Search
Project.
- In the Program Selection window, double-click Shapes.exe.
- In the Run window, click Run.
Results
The program displays the size, color, surface area, and volume of
the specified shape in the Console view and prompts you to specify values
for the new shape instance.