You are on page 1of 2

Miracle C Compiler version 4.

1 Copyright 1989-2008 bts


Please read this file carefully. Most of the questions I receive are answered in this short text file. And..... please register! Thank you. REGISTRATION The compiler is shareware, and is supplied on a trial use basis. The compiler package (including executables, function library and any other object code) is copyright material and must not be redistributed. Programs written using the compiler may be freely distributed. If you find it useful you should register. Registration costs US $19 (or equivalent in your local currency) and entitles you to receive the source code to the compiler itself and free upgrades for one year, as well as removing the reminder screens. You may register online using your credit card at webpage; http://www.reg.net/product.asp?ID=3376 Registered users can obtain support and help by email; http://www.c-compiler.com/feedback.php Thank you for registering Miracle C release 4.1! INSTALLATION INSTRUCTIONS Miracle C Workbench requires Microsoft Windows XP or Vista. Please note that you must be a registered user to ask me for help in setting up and using this compiler - see the section on Registration. The default directory for installation is C:\Program Files\Miracle C Subdirectory INCLUDE contains header files. Sample programs are located in C:\Miracle C Programs\examples . You should study the helpfiles and sample programs to learn about the language and library features supported. By default the compiler expects to be installed in C:\Program Files\Miracle C but should you wish to install it in another directory, you should choose Options/Compiler and change the specified directories. Please Note that Run/Compile merely creates a .OBJ file; to create a .EXE executable, you must issue Run/Build. You must have a topmost window of C source code selected to Run/Compile or Run/Build. RUNNING YOUR COMPILED APPLICATIONS When you issue Run/Execute, the topmost or most recently compiled window is executed. The Parameters box in the Execute Programs dialog box is entirely optional; if your program does not require parameters, don't type anything into the parameters box, just hit the Run button. You may also redirect input and output in the parameters box, as you would do on a DOS command line; for example, when running the maze example, you could type <maze into the parameters box, and the program would take its standard input from the "maze" file. If Run/Execute doesn't work for you for some reason, I would suggest that you open a Command Prompt in windows (Start, Programs, Accessories, Command Prompt), then change directory to

where your program is located (eg. cd\Miracle C Programs\examples) and run your compiled (.exe) program by typing its name into the command line. That should always work. DESCRIPTION The Miracle C Compiler runs under MS/Windows and compiles traditional C (Kernighan & Ritchie) with some ANSI language extensions. It generates object code suitable for Microsoft or compatible linker (such a linker is builtin to the Workbench, and automatically invoked during program build). It is completely compatible with traditional C syntax and implements record (struct/union) and enumerated data types, int, long and floating point types, user type definition, bit fields in structs, and initializers for all types. Both traditional and new (ANSI) function declaration is supported. There is a comprehensive library of functions; some example programs and documentation in Windows Helpfiles is supplied with the package.

You might also like