V
Vadim
Hi!
I have a STL string, which I need to convert to low case.
In VC 6 I used:
string sInputBuffer = _strlwr((char*)sBuffer.c_str());
However, now in MSVC.NET 2005 I am getting a warning, that _strlwr is
depricated. Instead, it's proposed to use _strlwr_s :
http://msdn2.microsoft.com/en-us/library/y889wzfw.aspx
How should I use this new function with STL, if I don't want to
allocate memory on heap.
Thanks.
Vadim
I have a STL string, which I need to convert to low case.
In VC 6 I used:
string sInputBuffer = _strlwr((char*)sBuffer.c_str());
However, now in MSVC.NET 2005 I am getting a warning, that _strlwr is
depricated. Instead, it's proposed to use _strlwr_s :
http://msdn2.microsoft.com/en-us/library/y889wzfw.aspx
How should I use this new function with STL, if I don't want to
allocate memory on heap.
Thanks.
Vadim