Welcome

About Miracle C

Compiler Basics

Download & Setup

Using Miracle C

C programming resources

Guide to the Miracle C Compiler

Using Miracle C

Tutorial: Writing, Saving, Compiling, and Running the "Hello World" program

1 2

 

    6. Compile your program. You can do this in one of three ways:

    • Click the Compile button.
    • Press F6.
    • Click Run and Compile.

      If you have not registered your copy of Miracle C, you will see a reminder message every time you compile and link. Don't forget to register so you can obtain online support and compiler source code!!

    After compiling, Miracle C displays an output window showing the results of the compilation. If the compilation was successful, you see something like this:

output screen

If your output window looks like this, close it and proceed.

If your output window shows error messages, see Understanding common error messages.

 

    7. Link your program. You can do this in one of three ways:

    • Click the Link button.
    • Press F7.
    • Click Run and Build.

     

    After linking, Miracle C displays an output window showing the results of the linking. If the linking was successful, you see something like this:

If your output window looks like this, close it and proceed.

If your output window shows error messages, see Understanding common error messages.

 

    8. Run your program. You can do this in one of three ways:

    • Click the Run button.
    • Press F8.
    • Click Run and Execute.

      Then click Run in the Execute Program dialogue box. You do not have to enter anything in the Parameters text field.

    Here's what the output of your program should look like:

Hello, World

 

Congratulations! You've just written, compiled, and run your first program with Miracle C!

View a printer-friendly version