C++/c++

Advertisement


Question
Hi Vijayan,
I'm new in c++ programing.When I write a simple program in Visual C++ and then I add or delete some lines in program and running it again ,it shows me the same thing before changing program.I saved it with Ctrl+s, Set as Startup project,... .Could you guide me what should I do?

Regards,
Tina.

Answer
I presume that you are using some version of Microsoft Visual C++ IDE.

Perform the following steps once:
a. (Menu) Build => Clean Solution
b. (Menu) Window => Close All Documents
c. (Solution Explorer) Double click on the file to open it for editing.

Each time you make a modification to the file, before running it, perform a build.
(Menu) Build => Rebuild Solution  

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


vijayan

Expertise

my primary areas of interest are generic and template metaprogramming, STL, algorithms, design patterns and c++09. i would not answer questions about gui and web programming.

Experience

over 15 years

Education/Credentials
post graduate engineer

©2012 About.com, a part of The New York Times Company. All rights reserved.