Not Declared in scope...?

I just finished typing Wator an ecosimulation in visual studio 2008.. it works perfectly and all.. but i have to turn it in to my teacher on a linux machine so i used filezilla to pull files over...

i get an error in all of my .h files saying that "wator is not declared in this scope"

wator is vector<vector<Animal*>> wator..

Any ideas on why this is happening? i cant figure it out..
Alright... so apparently linux doesnt like >>...... there has to be a space.. > > like that.. thats kinda a dumb reason to not work i.m.o.

Sorry for the post..
closed account (z05DSL3A)
Standard C++'s parser defines ">>" as the right shift operator, in all cases. C++0x will improve the specification of the parser so that multiple right angle brackets will be interpreted as closing the template argument list where it is reasonable. VS2008 has already taken some steps toward C++0x.
g++ ( 4.4 at least ) allows that too
Topic archived. No new replies allowed.