I am new linux user.
I can compile my c++ code in my user directoy (for example /home/username) but when I try to excute the the excutable I have to give the whole path( /home/username myexcutable) even I am in the diretory /home/username, How can I fix this problem.
Thanks