how to run programs in terminal

i created a console app that is a calculator in code::blocks. How do I run it in the terminal?
When you write something the shell would interpret it.
If it is not an inner command, it would try the directories in the PATH searching for the program.

Or you could specify the path (relative or absolute)
$ ./program.bin
$ /home/jdogsiis/program.bin
Topic archived. No new replies allowed.