PDA

View Full Version : program won't run



0334081a
October 14th, 2005, 09:53 PM
Programs are compiling fine and appearing directory but when name of program is typed to run it in bash terminal, it says command not found. some help please.

invalid
October 14th, 2005, 10:00 PM
You run compiled programs with the following syntax

./program

Cheers,
Cb

0334081a
October 14th, 2005, 10:21 PM
thanks but its still not working. can you give me an example?

LordHunter317
October 14th, 2005, 10:34 PM
Showing us what you're trying to run would be helpful.

0334081a
October 14th, 2005, 10:38 PM
the name of the program is leap

terminal: michael@ubuntu:~$ leap

named the program with compiler

invalid
October 16th, 2005, 05:36 AM
What is the output when you type

./leap

(providing you are in the directory of the program)

0334081a
October 17th, 2005, 03:07 PM
got it working thanks