next up previous index
Next: Anagram-checking Up: STL vectors and Previous: The Program

Output of the program

~/cs2/tutor (58) a.out
0 0 0 0 0 0 0 0 0 0 

Press return to continue: 


0 0 0 0 7 9 0 0 0 0 

Press return to continue: 


9 0 0 0 0 

Press return to continue: 


0 0 0 0 7 8 9 0 0 0 0 

Press return to continue: 


0 0 0 0 7 8 9 0 4 0 0 0 

Press return to continue: 


0 0 11 0 0 7 8 9 0 4 0 0 0 

Press return to continue: 


0 0 11 0 7 8 9 0 4 0 0 0 

Press return to continue: 


0 0 0 0 0 0 0 4 7 8 9 11 

Press return to continue: 


Yes, 8 occurs in vector v.

Press return to continue: 


No, didn't find 12 in vector v.

Press return to continue: 


8 9 11 

Press return to continue: 


0 0 0 0 0 0 0 4 7 8 9 11 

Press return to continue: 


4 7 8 9 11 

Press return to continue: 


v and w have the same contents

Press return to continue: 


v and w have different contents

Press return to continue: 


v and w have the same contents

Press return to continue:



Kenny Zalewski
Mon May 13 04:03:40 EDT 1996