When I compile, in Knoppix, I use this command:
Code:
g++ -Wall input.cpp -o output
Then I can just type output and it will run. However, if I specify an extension(output.out) then I have to use the ./ command. It seems easier and better, at least to me, to leave off an extension so you can just type the name and it will run.