[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppVclAnsiString
Forward-declaration of AnsiString:
In the implementation (.cpp) file, #include system.hpp:
Do NOT do the code below, as can be read in the comments in the beginning of sysmac.h).
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppVclAnsiString
(VCL) AnsiString
std::string-like class. It is typedef-ed as String in sysmac.h.Forward-declaration of AnsiString:
//Forward declaration
namespace System { class AnsiString; };
In the implementation (.cpp) file, #include system.hpp:
- include <system.hpp>
Do NOT do the code below, as can be read in the comments in the beginning of sysmac.h).
- include <sysmac.h> //DO NOT DO THIS!!! #INCLUDE SYSTEM.HPP INSTEAD!!!
Common problems encountered when working with String
- Converting a String to an integer
- Converting a String to a double
- Converting an integer to a String
- Converting a double to a String
- Check if a String can be converted to an integer
- Check if a String can be converted to a double
- Convert a String to lower case
- Convert a String to upper case
- Replace a String's substring by another
- Convert between std::string and AnsiString
- Get the extension of a filename
- Remove the extension of a filename
- How do I display a memory address on screen?
Also handy conversions
'AnsiString' links
Other string classes
- std::string (STL)
- CString (Visual C++)
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
