Terminal & C Programs

Soldato
Joined
12 Jun 2005
Posts
5,361
Hi there,

When I compile a program with C why do I have to execute with the command "./cprogram" instead of just "cprogram" to run it?

I am currently in the directory of "cprogram".

Is there anyway to change it so that it executse with just "cprogram"?

Thanks.
 
Back
Top Bottom