Stonehambey
May 7th, 2008, 08:19 AM
Hi, I've made a couple of test programs using C++ and I've got my executable.
The only thing is...I can't run it. O_o
I try double clicking on it, and nothing happens. I try running it from the command line, and nothing happens. I should add that I've only just started using Ubuntu and so I might be missing out on something.
Also, save starting another thread I might as well ask it here. How does one go about building a project with multiple files using the command line? Say I wanted to build a program consisting of class.h, class.cpp and main.cpp, how would I do that? At the moment I'm building single files like this
g++ ./filename.cpp -o filename
Any help on these two questions/problems would be much appreciated, thanks :)
Stonehambey
The only thing is...I can't run it. O_o
I try double clicking on it, and nothing happens. I try running it from the command line, and nothing happens. I should add that I've only just started using Ubuntu and so I might be missing out on something.
Also, save starting another thread I might as well ask it here. How does one go about building a project with multiple files using the command line? Say I wanted to build a program consisting of class.h, class.cpp and main.cpp, how would I do that? At the moment I'm building single files like this
g++ ./filename.cpp -o filename
Any help on these two questions/problems would be much appreciated, thanks :)
Stonehambey