This has been kind of bothering me. I use GCC to compile my C++ sources, how do irun the executables, i double click and nothing happens.
This has been kind of bothering me. I use GCC to compile my C++ sources, how do irun the executables, i double click and nothing happens.
gpp file.cpp -o filename
chmod a+x filename // To make the file executable
./filename // To execute the file
Command line:
user@home->./a.out
[edit]Doh! beat.
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]