Mandrake 8.2 ?'s " file not found"

Status
Not open for further replies.
real newbie question

hey guys.

i just installed mandrake 8.2 on mainly for some good c++ and c development (i just graduated from purdue with a bachelor of science in computer engineering). when i create a .cc file and compile it its fine, but the a.out that results keeps saying command not found. this is the first time i've really experimented with linux. i have winxp but i dont' really want to fool with visual c++. do i need to install something to get the a.out to run my programs? yes i'm a newb to linux. thanks.
 
Do you mean that if you give parameters to a.out application, they're not processed correctly?
Or are you just trying to launch a.out?
If it's the latter, Unix commands that reside in the current directory are executed by ./ in the beginning, otherwise the system tries to find the command from paths specified in environment variable PATH.
 
Another note, if you're compiling with cc/gcc, you could use parameter -o to specify the output file, like -o test. Saves you from renaming a.out :)
 
Status
Not open for further replies.
Back