Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 12th, 2006, 2:33 PM   #1
sweetvirgogirl
Newbie
 
Join Date: Jan 2006
Posts: 23
Rep Power: 0 sweetvirgogirl is on a distinguished road
visual studio.net 2003

so yeah I need to run a simple program in c++, and it wont let me!

it gives me error message: "Unable to start debugging"
"Unable to start program d:/..... testtesttest.exe"
"The system cannot find the file specified"

btw my project type is empty.net
and i think thats what i'm supposed to use
sweetvirgogirl is offline   Reply With Quote
Old Feb 12th, 2006, 2:44 PM   #2
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
Well, the problem is that the file can't be found... make sure it exists, then post again.
Polyphemus_ is offline   Reply With Quote
Old Feb 12th, 2006, 4:32 PM   #3
sweetvirgogirl
Newbie
 
Join Date: Jan 2006
Posts: 23
Rep Power: 0 sweetvirgogirl is on a distinguished road
well it doesnt exist ... and i dunno why the visual studio doesnt create it automatically
sweetvirgogirl is offline   Reply With Quote
Old Feb 12th, 2006, 5:20 PM   #4
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Technology still hasn't progressed far enough to routinely omit the programmer from the equation. Perhaps you could make that your goal. Meanwhile, I suggest you study the documentation for your compiler.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Feb 12th, 2006, 5:38 PM   #5
sweetvirgogirl
Newbie
 
Join Date: Jan 2006
Posts: 23
Rep Power: 0 sweetvirgogirl is on a distinguished road
the compiler was working fine for me... and then i didnt use the compiler for like a month or so ... and i used it last night and it game that error
sweetvirgogirl is offline   Reply With Quote
Old Feb 12th, 2006, 6:26 PM   #6
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
I have a question, are you a blonde? I mean... did you compile before running?
OpenLoop is offline   Reply With Quote
Old Feb 12th, 2006, 8:12 PM   #7
InfoGeek
Professional Programmer
 
InfoGeek's Avatar
 
Join Date: Jun 2005
Location: India, The great.
Posts: 435
Rep Power: 4 InfoGeek is on a distinguished road
Quote:
Originally Posted by OpenLoop
I have a question, are you a blonde? I mean... did you compile before running?
LOL!

I think the problem is thatshe hasn't added the cpp file to the project. Just started a project and opened a new cpp file. then typed the code and tried to run. But as the file wasn't added to the project, It won't compile.
__________________
PFO - My daily dose of technology.
InfoGeek is offline   Reply With Quote
Old Feb 12th, 2006, 8:18 PM   #8
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Compile before running? How about type code before compiling?
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Feb 12th, 2006, 8:22 PM   #9
InfoGeek
Professional Programmer
 
InfoGeek's Avatar
 
Join Date: Jun 2005
Location: India, The great.
Posts: 435
Rep Power: 4 InfoGeek is on a distinguished road
Quote:
Originally Posted by Dawei
Compile before running? How about type code before compiling?
There is a toolbar button to do all the stuff from preprocessing to comiling to linking to running. I meant pressing that button.
__________________
PFO - My daily dose of technology.
InfoGeek is offline   Reply With Quote
Old Feb 12th, 2006, 10:01 PM   #10
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Yeah, but that button doesn't write code into your blank page, beyond some fairly simple templating .
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:59 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC