1.CSC425 Lab 1
1.CSC425 Lab 1
Objectives:
● Run the DevC++ from the Start Menu of the lab computer
● In DevC++, create new C++ program: Click File >> New >> Source File from top menu. An
empty white text window should appear
● Click the File >> Save As.. from the top menu.
● The file name must end .cpp.
✔ Any C (C++) program must be saved in a file with extension “.c” (“.cpp”).
✔ File names should begin with lower case letters.
✔ File names should limited up to 30 characters.
✔ File names and directory paths should not contain blanks, parentheses “(”, or crazy characters.
✔ Smallest non-empty C/C++ file, which is compilable, must have at least the main().
Step 3: Compile and run the program
● Click Execute >> Compile & Run from the top menu
Task 1: Trace the output for the following statements.