Red Squirrel
No Lifer
Lets say I have a class, and in that class I declare a variable of type Guild and call it Guild, then in a function of that class I want to declare another variable of type Guild so I go:
Guild newguild;
How do I tell the compiler that by Guild I'm refering tothe type, and not the name of the variable within the class?
Whoever coded the original to what I'm working on used some very bad naming convention and should never haved used the same name as the type. Right now the only work around I can think of is renaming it, though this will require to edit a couple 100 files in the program, so I'm trying to avoid this unless its really the only way.
Guild newguild;
How do I tell the compiler that by Guild I'm refering tothe type, and not the name of the variable within the class?
Whoever coded the original to what I'm working on used some very bad naming convention and should never haved used the same name as the type. Right now the only work around I can think of is renaming it, though this will require to edit a couple 100 files in the program, so I'm trying to avoid this unless its really the only way.