C++ Assignment 1
- Write a C++ program that prints your name to the screen
- Make sure your name, class and assignment# are in comments at the top of the program
- Attach your completed code (the
.cpp
file) to an email and send it to mrsimon@lycos.com (and email a backup copy to yourself!)
- Make sure your name, class and assignment# are also on the subject line of the email
Steps to completing Assignment #1
- Start Dev C++. Under the start menu choose Programs | Dev C++ | Dev C++
- Choose File | New Source File. Dev C++ will automatically generate most of the code
- Add the code that displays your name before
system("PAUSE");
- Save your program by choosing File | Save Unit As
- compile and run your program by choosing Execute | Compile and Run
- A DOS window should that looks similar to the one below should appear