- Joined
- Jun 27, 2004
- Messages
- 4,210
- Trophies
- 0
- Age
- 37
- Location
- England
- Website
- zeldapower.com
- XP
- 653
- Country
Hey all, I have this in my header file:
Yes yes, it's all in the appropriate places etc, but I get this error:
Error 1 error C2653: 'std' : is not a class or namespace name
Error 2 error C2061: syntax error : identifier 'string'
I've tried getting rid of std::, but that still doesn't make it work. Any ideas on how to make it work? I tried including in the header file, but then as soon as I go to execute that class (never mind the method) it immediately breaks at "strlen.asm", so I'm guessing that's not the right way to go
Any ideas, anybody? I'm running out of ideas on how to fix this. I've researched and researched but found no fix.
Thanks.
Code:
void ObjectCreator(std::string sActorGroup_, std::string sActorName_, std::string sActorVariable_);
Yes yes, it's all in the appropriate places etc, but I get this error:
Error 1 error C2653: 'std' : is not a class or namespace name
Error 2 error C2061: syntax error : identifier 'string'
I've tried getting rid of std::, but that still doesn't make it work. Any ideas on how to make it work? I tried including in the header file, but then as soon as I go to execute that class (never mind the method) it immediately breaks at "strlen.asm", so I'm guessing that's not the right way to go
Thanks.