visual studio won't compile what i modify

This is a discussion on visual studio won't compile what i modify within the C++ Programming forums, part of the General Programming Boards category; i am making projects in visual studio but no matter what i do to the source it always works, and ...

  1. #1
    Shadow12345
    Guest

    visual studio won't compile what i modify

    i am making projects in visual studio but no matter what i do to the source it always works, and it always runs an older version of the program. i can delete everything in the source and it still compiles and runs
    here is a screenshot of my deleted source, and me running the most current project
    Attached Images Attached Images  

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Try cleaning the project. This is the clean option under project settings. Also close and re-open visual studio. Check the directory and make sure only the files you want are in there.

  3. #3
    Shadow12345
    Guest
    well i had to delete the entire folder i was getting so many problems
    i just started an entire new project
    thx anyway

  4. #4
    Registered User
    Join Date
    Sep 2002
    Posts
    417
    try "rebuild all" if it isn't deleted completely (out of the recycle bin)

  5. #5
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Usually helps When in doubt, rebuild all. The only thing that might be bad about rebuild all is the fact that it'll have to re-compile/link every single source file, but usually that's not a problem.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  6. #6
    endo_at_work
    Guest
    make sure there are no files included in the project, in your picture you have 3. Those are the ones being compiled and run, if you change other files it still compiles just those included in the project.

    I've done this numerous times....

  7. #7
    Shadow12345
    Guest
    well i took your advice and just did the rebuild all, i like to avoid that but it did what I wanted. Thx.

    Computers: Can't live with them, can't live without them

  8. #8
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    i like to avoid that
    Why? Is there something wrong with it?
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Crazy errors caused by class, never seen before..
    By Shamino in forum C++ Programming
    Replies: 2
    Last Post: 06-10-2007, 12:54 PM
  2. Visual Studio Express for free
    By Frobozz in forum C# Programming
    Replies: 2
    Last Post: 04-29-2006, 10:59 PM
  3. Errors with including winsock 2 lib
    By gamingdl'er in forum C++ Programming
    Replies: 3
    Last Post: 12-05-2005, 08:13 PM
  4. Using 'if' with char arrays or string objects
    By c++_n00b in forum C++ Programming
    Replies: 36
    Last Post: 06-06-2002, 10:04 PM
  5. <list>
    By Unregistered in forum C++ Programming
    Replies: 9
    Last Post: 02-24-2002, 04:07 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21