1. Computing & Technology

Discuss in my forum

Compile your First C++ Application with Visual C++ 2005 Express Edition

By , About.com Guide

6 of 6

Compiling and Running the Hello World Application
Compile your First C++ Application with Visual C++ 2005 Express Edition

We're now ready to compile. Press the F7 key. It will compile the application and within a few seconds you should see
========== Build 1 succeeded, 0 failed, 0 up-to-date,0 skipped ==========
in the box at the bottom. If by some chance you get errors, close the project and restart it from step 2 again.

You've compiled your first application! Now to run it, press F5. A form should appear with your text on it. This is highlighted by the red circle. You can see the application form running in front of the Form Designer.

Tip Just press F5, it will compile (if needed) and run your application.

Conclusion

You've seen how to setup a new project and drag a control on a form before compiling the application and running it. Now you can start the tutorial and learn how to program in C++.

©2012 About.com. All rights reserved.

A part of The New York Times Company.