C++ to .exe?

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2009
Posts: 3
Reputation: sharkman is an unknown quantity at this point 
Solved Threads: 0
sharkman sharkman is offline Offline
Newbie Poster

C++ to .exe?

 
0
  #1
Oct 24th, 2009
Please help quickly!

I'm on short notice here. I'm making a C++ program for a project, and the computer I'll need to run it on does not have a compiler.

I am currently using Microsoft Visual Studio 2003. I would very much like to turn this file into an executable capable of running on any computer (Or any PC, really)

I am slightly above average as far as computer savvy goes.

Thanks in advance.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 675
Reputation: Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold 
Solved Threads: 100
Sky Diploma's Avatar
Sky Diploma Sky Diploma is offline Offline
Practically a Master Poster
 
0
  #2
Oct 24th, 2009
I really wonder if that's possible..
What you are trying to do is to make an executable without actually compiling the C++ syntax.
Without the compiler, I think that the C++ syntax would be juz lines of data and nothing else.

My Suggestion would be to install a compiler on the system , compile it and then after the executable is made. Uninstall it (Optionally.)
Last edited by Sky Diploma; Oct 24th, 2009 at 3:01 am.
1. Please Mark Your Thread as Solved After Getting Your Answers.
2. Please Use CODE TAGS .
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 3
Reputation: sharkman is an unknown quantity at this point 
Solved Threads: 0
sharkman sharkman is offline Offline
Newbie Poster
 
0
  #3
Oct 24th, 2009
Originally Posted by Sky Diploma View Post
I really wonder if that's possible..
What you are trying to do is to make an executable without actually compiling the C++ syntax.
Without the compiler, I think that the C++ syntax would be juz lines of data and nothing else.

My Suggestion would be to install a compiler on the system , compile it and then after the executable is made. Uninstall it (Optionally.)
You misunderstood me. I run a compiler on my computer, where I will be creating this program. The computer I will be RUNNING this on will not have one, and is beyond my jurisdiction to install anything on. I wish to turn said program into an executable program FROM my computer and run said (DLL independant) .exe on another computer.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 3,829
Reputation: VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute 
Solved Threads: 501
Featured Poster
VernonDozier VernonDozier is offline Offline
Senior Poster
 
0
  #4
Oct 24th, 2009
Originally Posted by sharkman View Post
You misunderstood me. I run a compiler on my computer, where I will be creating this program. The computer I will be RUNNING this on will not have one, and is beyond my jurisdiction to install anything on. I wish to turn said program into an executable program FROM my computer and run said (DLL independant) .exe on another computer.
No problem. The compiler compiles the program and creates an executable. Once that executable is created, you can throw away the compiler and throw away all of the .cpp and .h files. Just grab the .exe file and stick it wherever you want, on any Windows computer. The fact that it has no DLLs makes it even easier. Just run the .exe file.
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 3
Reputation: sharkman is an unknown quantity at this point 
Solved Threads: 0
sharkman sharkman is offline Offline
Newbie Poster
 
0
  #5
Oct 25th, 2009
Originally Posted by VernonDozier View Post
No problem. The compiler compiles the program and creates an executable. Once that executable is created, you can throw away the compiler and throw away all of the .cpp and .h files. Just grab the .exe file and stick it wherever you want, on any Windows computer. The fact that it has no DLLs makes it even easier. Just run the .exe file.
Thanks, I just found where it was. Tested, works on non compiling computers. Its all good.
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC