if you are using a terminal...and you want launch an application from it, ( ex temp :the application you have compiled) you must write the complete path of the application you want launch ex:
1) the application is in the current directory:
./applicationName...