Execute from the command line

If you are using Visual Studio 6.0, you can also execute the compiled program by making Debug the current directory and entering the following command at the command prompt:

hello1

If you are using Dev C++, a new directory named Debug will not be created.

In that case, you can execute the program by entering the above command from the command line in the same directory containing your source file.