visual studio question

This is a discussion on visual studio question within the Tech Board forums, part of the Community Boards category; I'm currently working on a program for my foundations class. The program contains 2 .cpp files, and 1 .h file. ...

  1. #1
    Registered User CASHOUT's Avatar
    Join Date
    Jul 2011
    Location
    Florida
    Posts
    88

    visual studio question

    I'm currently working on a program for my foundations class. The program contains 2 .cpp files, and 1 .h file.

    I made some incorrect changes to the 1 .cpp file that contained the methods for a class that I created; the changes caused the program to fail. (cannot find .exe)

    After the changes were unimplemented the program continued to fail when I tried to recompile. I tried restarting visual studio and reopening the program but that didn't work; I continued to get that same fail message. The only thing that worked was restarting my computer.

    Can anyone explain to me why that was happening? And what I can do to avoid this problem in the future?

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    2,358
    post the code.
    Code:
    namespace life
    {
        const bool change = true;
    }

  3. #3
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    1,624
    I had a similar problem with codeblocks, where I has trying to recompile the project but it was giving me "Access denied". It seems that because of my program's failure, it kept on running in the background. Since Windows refuse to change the file of a running instance, I had to go through process manager to shut it down.
    Devoted my life to programming...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Visual Studio question
    By l2u in forum Tech Board
    Replies: 4
    Last Post: 05-13-2008, 09:21 PM
  2. Visual Studio .Net Question
    By loko in forum C++ Programming
    Replies: 7
    Last Post: 09-05-2005, 07:54 PM
  3. Visual Studio.net question
    By Dream Theater in forum Tech Board
    Replies: 4
    Last Post: 02-03-2005, 02:04 PM
  4. Visual Studio question
    By purple in forum C++ Programming
    Replies: 11
    Last Post: 03-14-2002, 09:58 PM
  5. Visual Studio C Question
    By Unregistered in forum Windows Programming
    Replies: 2
    Last Post: 11-29-2001, 01:33 AM

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