Hey guys,

I just reinstalled MS Visual Studio C++ Express and I am having this weird problem with the complier. So for example if I add a source file name file1 and run it it works fine..however if i delete the file1 from current project and add file2 it will still run file1 code on build/debugging. Why is it doing that? Any help would be great:) I need to finish my h.w. and visual studio is giving me headache with this wired problem


Try Clean Solution then re-build it.
In VS2008 it is in the Build menu but not sure if it is the same for VS2010.