Instead of using char[] arrays is there a string class???
I use MSVC and I was wondering if there is a string class included instead of using character arrays. I know there is string.h for functins like strcpy() and strlen(). But can I declare and object to be a string and if so what is the syntax???
Umm...
If Microsoft ever made a solid OS then I would sell my soul to Satan for it...
There is also a string class called "CSTRING" just look for that in the index... and see what happens
Dark
Dark
ICQ: 130925152Email: e.j.folkertsma@student.utwente.nl
CString is specific to MFC. If you want to stick with standard C++, use the string class, which is part of the STL. You can learn more about the STL here, or by using MSDN.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement