ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Common Board

What's wrong with compilation?
Posted by Yarik 25 Jul 2007 20:03
Why does this string of code cause "Compilation error":
vector<vector<string>>* middleresult;
?

I my MSVS compiler it goes well. But not here... :(
Tnx for any help.
Re: What's wrong with compilation?
Posted by Mace(Lviv Polytechniс NU) 25 Jul 2007 22:29
Just input one more space character in middleresult's declaration:
vector< vector<string> >* middleresult;
Many compilers proceed ">>" at this declarations as binary shifting.

Edited by author 25.07.2007 22:29