08 lecture

08 lecture - while loops: while (condition) { statement; }...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
4/16/08 Homework 2: -2 warnings are ok 1) convert from size_t to int: happens when you use string.length( ) and then use it in an int 2) warning about dirty infinite loop
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: while loops: while (condition) { statement; } the computer will run the code that is between the brackets until the condition is false, then it will move on....
View Full Document

Ask a homework question - tutors are online