1. Home
  2. Computing & Technology
  3. C / C++ / C#

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

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++.
Explore C / C++ / C#
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. C++
  5. Learn C++ Programming
  6. Compiling and Running the Hello World Application

©2009 About.com, a part of The New York Times Company.

All rights reserved.