CSCI 261 - Programming Concepts (C++)Spring 2017 - Lab 01BQuick Links: Blackboard | Canvas | CS @ Mines | Cloud9 | Piazza | zyBooks |
|
| Home | Contact | Syllabus | Assignments | Schedule | Resources | | |
This lab is due by
January 17, 2017 11:59PM.
An Intro To ASCII Art
Part 1 of Assignment 01 requires you
to create your own ASCII Art to print to the screen. For this lab,
you'll get more practice outputting information to the screen by
creating creative pictures. You will need to follow the steps in Lab01A to create a new project and main.cpp file
for this lab.
Your first task is to add the appropriate cout statements to print this tree to the screen: * *** ***** ******* ***
Once the you are finished with the tree, add two blank
lines and add additional statements to print what zyBooks calls a cat
(I thought it was a rabbit).
/\ /\ o o = = ---
Hint: A backslash \ in a string acts as an escape
character, such as with a newline \n. So, to print an actual
backslash, escape that backslash by prepending another backslash. Ex:
The following prints a single backslash:
cout << "\\";
Lab Submission
You will submit your solution
to this lab with your first official homework assignment (Assignment 01. Detailed instructions
for doing this are posted in Assignment
01.
This lab is due by
January 17, 2017 11:59PM.
Optional Blackboard Submission Practice
In previous versions of this course, many students have had problems
with submitting a given homework assignment correctly. The student then
loses several points on his/her homework assignment, just because of a
submission problem. This makes us sad.
Thus, we offer you the opportunity to practice submitting a homework assignment (your choice; no points). As Aristotle said For the things we have to learn before we can do them, we learn by doing them. (We'll ignore Billie Joe Armstrong's alternative view of practice, i.e., School is practice for the future, and practice makes perfect. But nobody's perfect, so why practice?) In Lab01A, you created and executed your first C++ Program. In Lab01B, you created your second C++ program. Let's go ahead and submit these programs to Blackboard for practice! Using Windows Explorer, not to be confused with Internet Explorer, find the location of your project. If you followed the directions on Lab01A closely, this location is on your Z:\ drive at Z:/CSCI261\Lab01A\Lab01A\ (where the first Lab01A is the Solution name and the second Lab01A is the project name). Now, using our course's homework submission instructions, submit the main.cpp code from Lab01A & Lab01B to Week00 in Blackboard. Your main.cpp file from Lab01A should be within a directory called Lab01A, which is itself in a directory called Week00. Likewise for Lab01B. See homework submission instructions for details on the desired directory structure. If you submit this file by Saturday, January 14 8AM, we will 'grade' it (again, zippo points) and let you know if your submission was NOT correct by Monday morning. In summary, for the optional homework due on Saturday, January 14 8AM, follow these specific steps:
| |
Last Updated: 01/01/70 00:00
|