Advertisement

Instead of using char[] arrays is there a string class???

Started by July 25, 2000 06:36 PM
1 comment, last by goldfinger8 24 years, 5 months ago
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

ICQ: 130925152Email: e.j.folkertsma@student.utwente.nl
Advertisement
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