I realize that no one needs my life story, so let's cut to the chase. I'm trying my first stab at OOP with a string class called "oostring". It's provided with my programming book (available online at: http://www.studio-ide.com/downloads/cppfiles.zip with some other stuff, if anyone cares).
Anyway, when I try to compile a simple program that only instanciates and "cout's" an oostring, project builder spits out the error "undefined symbols". Now, I'm thinking that somehow the text encoding got messed up with the source files... the compiler says that the "undefined symbols" are:
"__._8oostring
___8oostringPCc
___ls__FR7ostreamRC8oostring
_reverse_string__8oostring"
I can't find anything close to this in the oostring.h or oostring.c files ('8' does not appear in my source code anywhere). I think I might know the problem (something with stray characters or something... i dunno... but this class works fine on a PC at school...), but short of retyping the entire source code, I don't see how I could fix it.
Can anyone help me out, please?
Thanks,
-Joe
Anyway, when I try to compile a simple program that only instanciates and "cout's" an oostring, project builder spits out the error "undefined symbols". Now, I'm thinking that somehow the text encoding got messed up with the source files... the compiler says that the "undefined symbols" are:
"__._8oostring
___8oostringPCc
___ls__FR7ostreamRC8oostring
_reverse_string__8oostring"
I can't find anything close to this in the oostring.h or oostring.c files ('8' does not appear in my source code anywhere). I think I might know the problem (something with stray characters or something... i dunno... but this class works fine on a PC at school...), but short of retyping the entire source code, I don't see how I could fix it.
Can anyone help me out, please?
Thanks,
-Joe