Search found 1 match

by ttmoptic
Tue Aug 27, 2002 7:53 pm
Forum: Volume 4 (400-499)
Topic: 490 - Rotating Sentences
Replies: 212
Views: 48420

490 why WA

I cannot see why I am getting WA. Language is c++


#include <iostream>
#include<string>
#include <vector>
using namespace std;

void main(void)

{
char ch;
vector<string> sent;
for(cin.get(ch);cin;cin.get(ch))
{
string word;
word+=ch;
for(cin.get(ch);ch!='\n';cin.get(ch))
word+=ch;
sent ...

Go to advanced search