![]() |
|
#1
|
|||
|
|||
Run exe file in C++ codingHi Everybody,
I want to run a Fortran EXE file in C++ coding, following coding I wrote and compile with cygwin g++ compiler....... CPP / C++ / C Code:
When I compile it works fine without any trouble. But when I run it shows following error........ Code:
Please help me to solve this problem...............Thanks in advance. Regards, Sitha. Last edited by LuciWiz : 03-Mar-2007 at 16:43.
Reason: Please insert your C/C++ code between [cpp] & [/cpp] tags
|
|
#2
|
|||
|
|||
Re: Run exe file in C++ codingSee that Edit button? It prevents you from having to double post.
The error means exactly what it says. universe.exe isn't in the same directory as your program's executable, thus it was not found. system() does exactly the same thing as typing a command into the shell. |
|
#3
|
|||
|
|||
Re: Run exe file in C++ codingin Unix change
Code:
To Code:
In Unix to run your programs you use ./(program) instead of the windows universe.exe |
|
#4
|
|||
|
|||
Re: Run exe file in C++ codingSee that Edit button? It prevents you from having to double post.
Quote:
But universe.exe is in the same directory!!!!!!!!!!!!!! |
|
#5
|
|||
|
|||
Re: Run exe file in C++ codingQuote:
I spent lot of time to solve this trouble. But your idea helped me lot.......... |
Recent GIDBlog
Python ebook by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Airport Log program using 3D linked List : problem reading from file | batrsau | C Programming Language | 11 | 29-Feb-2008 08:44 |
| Download files in c for windows operating system | oozsakarya | C Programming Language | 5 | 20-Jun-2006 04:33 |
| Coding Contest #1 | davis | Miscellaneous Programming Forum | 0 | 12-Jun-2006 09:29 |
| CD burner wont burn!! | robertli55 | Computer Hardware Forum | 1 | 18-Jun-2004 11:53 |
| Yet another CD burner problem: Lite-On LSC-24082K | Erwin | Computer Hardware Forum | 1 | 22-May-2004 12:28 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The