Class Notes (1,100,000)
CA (630,000)
UW (20,000)
CS (1,000)
CS138 (10)
Lecture 3

CS138 Lecture Notes - Lecture 3: Standard Streams, Substring, Toro Rosso Str2

by

Department
Computer Science
Course Code
CS138
Professor
Sandy Graham
Lecture
3

This preview shows page 1. to view the full 4 pages of the document.
Basics&
!
"#$%&'()!*#+,-.)/01!22!3.)4.+%),,+.!0/.5!-6/-!#$%&'(),!/&&+7,!8+'!-+!/%%),,!9'$%-#+$,!9.+0!!
',#$:!$/0),4/%)!,-(;!22!6+7!<!.)0)0=).!#-!/,!#,!,-'()$-!()=-!6+7)>).!8+'!0#:6-!-6#$5!+9!,+0)-6#$:!
)&,)?!)#-6).!7/8!#-!,-/$(!9+.!-6)!,-/$(/.(!&#=./.8;!7)!7+$-!=)!',#$:!/$8-6#$:!-+!
9/$%8!#$!%@@!
#$-!0/#$AB!22!C6)$!-6).)!#,!-6)!0)/-!+9!-6)!4.+:./0?!-6)!9'$%-#+$!
22!D'$%-#+$,!/.)!0/()!'4!+9!,-/-)0)$-,!-+!0/5)!/$!#$,-.'%-#+$?!+'.!9'$%-#+$!7#&&!E',-!4.#$-!+'-!F)&&+!
7+.&(G!H$!-6)!,%.))$!
I!
%+'-!**!JF)&&+!7+.&(GJ!**!)$(&;!22!**!-6#,!-6#$:8!#,!-6)!,-.)/0!#$,).-#+$!+4)./-+.?!-6#,!#,!6+7!7)!4.#$-!-+!
-6)!,-/$(/.(!+'-4'-?!#9!7)!(#($K-!#$%&'()!',#$:!$/0),4/%)!,-(!7)!7+'&(!6/>)!-+!7.#-)!#-!/,!
,-(LL%+'-**!MF)&&+!7+.&(GN!**!)$(&;!
22)$(&!#,!)O'#>/&)$-!-+!/((#$:!#$!P$!-+!-6)!,-/-)0)$-!
.)-'.$!Q;!22!/$(!+9!%+'.,)!7)!$))(!-+!.)-'.$!Q?!-6)!9'$%-#+$!,-#&&!$))(,!-+!.)-'.$!,+0)-6#$:!/-!-6)!)$(!+9!
#-?!,+!.)-'.$!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