I am using dev c++ 4.9.9.2 on windows vista 64 bit.
My program compiles and places a .exe file at the location of the .c file. The
program doesn't run at all when I hit the run button in the compiler or
compile and run.
I understand the system("pause") command and its not an issue of the program
flashing the screen. I can manually open the program and it runs fine.
Its getting it to run within this compiler program that I am getting annoyed
with.
This is probably not the kind of answer you were hoping for, but Dev-C++ is
not under active development any more, therefore I suggest you better switch
to another more up-to-date IDE, for example Code::Blocks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Im having the same problem on Win7 32 bits. Compiler works ok, and it creates
an .exe file, but it just doesnt show up when i do press F9. Besides of the
option "move to CB" and the other option to "manually run .exe from the
folder", does any1 know what should i do to get it to work? It was working
fine b4.
Dev-Cpp version: 4.9.9.2.
Gcc version: the error happens with the 3 versions: 3.4.2, which came with
Dev, 4.4.1 and 4.5.0.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh... i found the solution ............... Everywhere i found this: Don't put
mingw or Dev-Cpp in a folder that contains spaces!!! But nobody said anything
about spaces in the file. It was the problem. I was compiling this file,
"console test.cpp", and it compiled fine but it didnt show the output run. So
when i renamed it to console_test.cpp, it worked fine. The weird thing is that
it wasnt happenning before, i could run files with spaces in its name, but
after i installed gcc 4.4.1 and 4.5.0 it starts complaining about spaces in
the filename =/ I saw many ppl asking about this issue, so i think they r
trying to run files with spaces. Hope this will help them.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem with spaces is discussed in the "Please Read" thread. The problem
is that spaces are considered
delimiters, i.e. they can mean that the data has stopped. The hard part is
that the errors can be erratic.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using dev c++ 4.9.9.2 on windows vista 64 bit.
My program compiles and places a .exe file at the location of the .c file. The
program doesn't run at all when I hit the run button in the compiler or
compile and run.
I understand the system("pause") command and its not an issue of the program
flashing the screen. I can manually open the program and it runs fine.
Its getting it to run within this compiler program that I am getting annoyed
with.
Compiler: Default compiler
Executing gcc.exe...
gcc.exe "C:\users\Timothy Findling\Desktop\test.c" -o "C:\Users\Timothy
Findling\Desktop\test.exe" -g3 -l"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib" -g3
Execution terminated
Compilation Successful
I had to write this out by hand, hope I got the main things rights. Execution
terminated kind of concerns me, is this bad?
This is probably not the kind of answer you were hoping for, but Dev-C++ is
not under active development any more, therefore I suggest you better switch
to another more up-to-date IDE, for example Code::Blocks.
Posting you full Basic 3* might help. Note one more thing. Your code is in a
path with spaces. This is a very bad idea.
*covered in the thread "Please Read Before Posting a Question"
Im having the same problem on Win7 32 bits. Compiler works ok, and it creates
an .exe file, but it just doesnt show up when i do press F9. Besides of the
option "move to CB" and the other option to "manually run .exe from the
folder", does any1 know what should i do to get it to work? It was working
fine b4.
Dev-Cpp version: 4.9.9.2.
Gcc version: the error happens with the 3 versions: 3.4.2, which came with
Dev, 4.4.1 and 4.5.0.
Thanks.
Oh... i found the solution ............... Everywhere i found this: Don't put
mingw or Dev-Cpp in a folder that contains spaces!!! But nobody said anything
about spaces in the file. It was the problem. I was compiling this file,
"console test.cpp", and it compiled fine but it didnt show the output run. So
when i renamed it to console_test.cpp, it worked fine. The weird thing is that
it wasnt happenning before, i could run files with spaces in its name, but
after i installed gcc 4.4.1 and 4.5.0 it starts complaining about spaces in
the filename =/ I saw many ppl asking about this issue, so i think they r
trying to run files with spaces. Hope this will help them.
Thanks.
The problem with spaces is discussed in the "Please Read" thread. The problem
is that spaces are considered
delimiters, i.e. they can mean that the data has stopped. The hard part is
that the errors can be erratic.