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

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

By David Bolton, About.com

5 of 6

Change the Label's text

Right click the label and on the menu that pops up, click properties. You should see a Property Inspector appear below the toolbox. (Circle #1) This property inspector has two columns of attributes and you may have to scroll down to find the row in the left column that says Text. To the right of it, you will see the word label1.

Click on the word label1. You'll now see a down arrow. You can either type the words Hello World in this field or click the down arrow and type into the edit field box that appears. Press enter after typing and you'll see the label text (Circle #2) on the form has now changed to Hello World just like in the picture above.

You're now ready to compile and run your first application!

On the next page : Learn how to compile and run the application.

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

  1. Download Visual C++
  2. Create a new Project
  3. Now Display the Toolbox
  4. Drag the Label Control to the Form
  5. Change the Label's text
  6. Compiling and Running the Hello World Application

5 of 6

Explore C / C++ / C#

More from About.com

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. C++
  5. Learn C++ Programming
  6. Change the Label's text

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

All rights reserved.