

InterviewSolution
1. |
Solve : C++ String problem? |
Answer» As FAR as i can tell i should be able to access the String class in these files , but for some reason it gives me an error every time , i can use Strings inside Main no problem , but if i try to work with them in another Class i get the error "Type name Expected" Referring to the member declaration. any help would be appreciated but now i know that the String Class is just manipulators. err... no, string.h as you included it is just a group of manipulators; it has no class DEFINITIONS at all. the header that get's used by including defines the string class which supports a number of methods/properties. It certainly doesn't have as many as more object-oriented languages such as java and the .NET framework, though. |
|