1.8) Running A Program From The Command Line
Programs are invoked using the name of the executable file.
On Linux, Mac OS X and Cygwin, enter ./hello to run a file called hello. This assumes that you are in the same directory as hello; the ./ indicates that you are trying to running the program from the current directory.
At a Microsoft Windows Command prompt, just enter the name of the file; the .exe suffix does not need to be typed.