New Project - select File/New/C Project

Fill in the Project name; select Executable/Hello World ANSI C Project; select MinGW GCC as the Toolchain; click Next

Type in your name as Author; click Finish

This produces the following files and folders: Binaries, Includes, src, Debug.

Click on the + by src and double click the lab1.c file to open it in the editor.

Click the Green Run Icon to run the program.

Open Run Dialog in order to select the debugger or redirect output

Tabs include Main, Arguments, Environment, Debugger, Source, and Common. We will be using Arguments, Debugger, and Common

Arguments - type in runtime arguments which are passed into the main function at runtime.

Debugger - select Browse and browse to gdb-6.6\bin\gdb.exe then select Apply.

Common - check the File box, click Workspace and select the lab1 folder. This adds ${workspace_loc:/lab1}. Append this with /out.txt and select Apply. Note that if your output were a ppm file you might give the file name out.ppm instead of out.txt. Don't forget the / as it means put the file in the folder instead of in the workspace.

Hex Editor - right click out.txt (or any file in the workspace) and select Open With / Other... to see the Editor Selection, select Hex Editor and click OK.
