Search found 1 match

by Slayer
Fri Jul 12, 2002 8:45 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108632

Problem 101 input problems

Please help me!

I am currently working on the 101 problem and am having a problem with the C++ iostream function cin.getline().

I believe that its from not clearing the input stream, but I don't know how one goes about doing this.

I first enter in the number of blocks

[cpp]int size;
cin >> size ...

Go to advanced search