RunningAProgramUsingCodeWarrior

RunningAProgramUsingCodeWarrior - Where it says...

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
To run a program using CodeWarrior we first select the application from the start menu. We get: Next we select “new” from the File menu and get:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Next we select “Win32 C/C++ Application Stationary” and type HW1 in the “Project name:” box to get:
Background image of page 2
We next click the OK button and get: Here I select “C++ Console App” and click OK to get:
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
I click the “+” symbol in front of the “Source” folder to see what is inside of the folder. I get:
Background image of page 4
There is a source file already there for you. This is only an example. Delete this file since we will use our own. I then type “New Text File” from the file menu and get:
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
I now type the source code. I type in the hello world program from class to get
Background image of page 6
I next select “Save as” from the file menu to get:
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 10
Background image of page 11
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Where it says “untitled” I type the file name. Do not forget the cpp extension. Now click the “Save” buttom. Next I select “Add Files” from the Project menu to get: I select the file I just created, hw1.cpp, by clicking on it to get. Note that if you did not save the text file as .cpp it will not show up here. I next select “Add” to get: I simply click the “OK” button. Now I have: To run the program I select “Run” from the Project menu. The compiler starts compiling the program. When it is done, assuming that you did not make any mistakes, it runs the program. I eventually get: Now press “Enter” and you are back in CodeWarrior. At this point you can modify the source code or quit....
View Full Document

This note was uploaded on 09/16/2011 for the course EGN 3210 taught by Professor Fernando during the Spring '05 term at University of Central Florida.

Page1 / 11

RunningAProgramUsingCodeWarrior - Where it says...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online