Originally Posted by
dwks
It looks like Dev-C++ wasn't installed properly. Did you just copy it from your friend's computer?
Where are you saving your program? Try saving it as C:\hello.cpp
No I am the one that typed the program and he just showed me some of the errors I made, to help me learn a bit. Also I saved it as project1.exe.
Originally Posted by
SlyMaelstrom
Check the parameters you're passing to the project.
Project > Project Options > Parameters
Also on the bottom bar where you got the compile error, click on the compile log tab and paste that.
Here is the compile log.
Code:
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executing make...
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe -c project1.cpp -o project1.o
windres.exe -i Project1_private.rc --input-format=rc -o Project1_private.res -O coff
g++.exe project1.o Project1_private.res -o "Project1.exe" libkbhit
g++.exe: libkbhit: No such file or directory
make.exe: *** [Project1.exe] Error 1
Execution terminated
Also after looking at that(I forgot it was down there) I think I didnt link the kbhit library correctly or something.