zyBooks calls their C++ Interactive Development Environment (IDE): zyDE
In your CIS 22A zyBook:
Select Chapter 16
Select Section 16.24
You see:
#includeusing namespace std; int main() { // Enter your program here return 0; }
WARNING: WHEN YOU LEAVE THIS PAGE, YOUR CODE IS NOT SAVED AND IS LOST
So, be sure to keep a copy of your code outside the zyDE page.
I write my code in Notepad in my PC.
I give the file a name of what I am doing, such as: Problem A1.cpp
The .cpp is required for C++ programs
I save it by selecting:
file – Save As
Change the file extension from txt to cpp by doing in – Save as type Dropdown arrow and :
Select: All files (*.*)
Then type the complete file name including the .cpp, such as ProblemA1.cpp
Then click save
Now I can copy the code needed for // Enter your program here – omitting the stuff at the beginning and end that is already in the IDE
(or select all the code already shown there and paste all your code including opening and closing material.)
Run the code in the IDE. Correct the errors in Notepad and copy the corrected code to the IDE.
Repeat until the code is correct.
Canvas allows you to submit more than one file in one assignment.
Submit all problems for one unit at the same time in Canvas, such as:
Problem B1 and Problem B2