Search found 3 matches

by acm_rules
Thu Aug 07, 2003 2:00 am
Forum: C++
Topic: Input problem!
Replies: 2
Views: 1893

it works, thanks :)
by acm_rules
Thu Aug 07, 2003 1:09 am
Forum: C++
Topic: Input problem!
Replies: 2
Views: 1893

Input problem!

I don't know why but I keep getting the same error when I try to compile this simple program: #include <iostream> using namespace std; int main() { int n; string line; getline(cin, line); istringstream is(line); while(is >> n) cout << n << endl; return 0; } My compiler is g++ 3.2.2 and the error is ...
by acm_rules
Fri Aug 01, 2003 9:45 am
Forum: Volume 1 (100-199)
Topic: 183 - Bit Maps
Replies: 15
Views: 3275

BitMaps 183 - WA, HELP!

I've tested my code with a lot of inputs and It's working fine, but I keep getting Wrong Answer. I'd really apreciate it if someone could check my code and tell me if there's something wrong. Thanks in advance. :) #include <iostream> #include <iomanip> using namespace std; char bmp[200][200]; void c...

Go to advanced search