C++ will not execute a program that I have built. It links fine and compiles fine. There are no errors or any problems at all. But when I say execute it just gives me a quick mouse with hour glass and goes back to the regular cursor without executing it. All the resource files and header files are in the project. Everything is there that needs to be but it will not execute. Please help. Thanks.
Execution Problem
Collapse
This topic is closed.
X
X
-
DavidTags: None -
William DePalo [MVP VC++]
Re: Execution Problem
"David" <anonymous@disc ussions.microso ft.com> wrote in message
news:F4456556-4FC9-45EA-B238-02CDFE89F0EB@mi crosoft.com...[color=blue]
> C++ will not execute a program that I have built.
> It links fine and compiles fine. There are no
> errors or any problems at all.[/color]
Open up a command prompt window. Navigate to the directory where either the
release or debug build of your program is located. Type its name at the
command pronpt. If it doesn't do what you want post again with a description
of any errors that you see.
Regards,
Will
-
William DePalo [MVP VC++]
Re: Execution Problem
"David" <anonymous@disc ussions.microso ft.com> wrote in message
news:CFF56D92-3133-42F2-AB6A-C91DBCBE30D4@mi crosoft.com...[color=blue]
> It is kinda hard to do the command promt since
> I am in my programming class at my high school.
> They cut off access to the command promt so I
> have to find another way. Nothing is wrong with
> the compiler or the files I wrote. Everyone else's
> project is working fine and I compared my code
> to theirs very very very carfully and it is the exact
> copy. It just will not execute for some reason.
> Would a service pack fix the problem or not.
> My teacher does not know if these computers
> are running any service packs at all. So what
> is your suggestions? I need this for a grade
> also...I hate these computers![/color]
My suggestion is to find a new teacher. <eg>
Seriously, if I understand you correctly you are saying that you have a
computer which has been deliberately crippled. You have a program exactly
like that used by your classmates on their computers. Yet, their assignments
run but yours do not.
If it's an environmental problem, this newsgroup is not going to be much
help.
How big is your assignment? What compiler do you use? If it is small and if
you use Visual Studio version 6 or Visual Studio .Net 2003 (I don't have
2002 installed here) you can send the source files to me. I'll try to build
your assignment, run it here and let you know what I find.
Regards,
Will
Comment
Comment