CS 106B Lecture Notes - Lecture 3: In C

24 views2 pages

Document Summary

Logistics: treehacks organizing team info session, tuesday oct. 4th. Lathrop 298, 6-7pm (link on slides: you will know all you need for fauxtoshop by monday"s lecture. Homework 1: library bug, i/o, general comments. Sometimes when you load an image, the program simply stops and doesn"t load the image (see piazza post 35 for fix). If this happens, you must restart your program. For input, you should be using the stanford library function getline() and getinteger() as follows: Stanford library: there is also a reprompt string for getinteger() that allows you to customize message displayed. Your functions should be short (less than 30 lines!) and should each perform a single, coherent task. The functions for each part of this assignment do not need to be long think, decide on algorithm, and plan before you write. Strings: in c++, a string has double quotes, not single quotes, the biggest difference between a java string and a c++ string is that.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers