View Full Version : Need help with compiling
JPatrick
July 25th, 2005, 10:42 AM
I can write the code by I can't compile any of it... :(
I using KDevelop.
I just need a way, any way, to compile the code..
Thanks
DJ_Max
July 25th, 2005, 11:39 AM
I can write the code by I can't compile any of it... :(
I using KDevelop.
I just need a way, any way, to compile the code..
Thanks
hrmm, any errors? Can't really help if I don't know your problem.
JPatrick
July 25th, 2005, 11:42 AM
I don't know where to start compiling...
thumper
July 25th, 2005, 12:00 PM
I don't know where to start compiling...
You could try the command line.
What language are you using?
JPatrick
July 25th, 2005, 12:11 PM
C++. I was thinking about the command line...
Don't know the command.
thumper
July 25th, 2005, 12:23 PM
C++. I was thinking about the command line...
Don't know the command.
If you are compiling a single file test.cpp then the command line is:
g++ -o test test.cpp
This will create an executable file in the current directory called test.
Execute it by
./test
and you are off an running.
You can pass multiple source files to g++ on the command line, but once you get past two or three it is time to start looking a makefiles.
JPatrick
July 25th, 2005, 12:31 PM
Excellent it works!! :D
Cheers!
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.