TnT
Oct 3rd, 2000, 11:42 AM
I need some help for string manipulation (without CString class).
I know basics of C++, but never used strings.
For example I need a function for appending a backslash after a directory
name:
VOID WINAPI AppendSlash(LPTSTR *lpFileName)
{
len = lstrlen(*lpFileName) + 1;
if (len > 0 && szBuffer[len] != '\\')
{
// Modify string by adding a backsslash
}
}
Thanks,
Jef Driesen
I know basics of C++, but never used strings.
For example I need a function for appending a backslash after a directory
name:
VOID WINAPI AppendSlash(LPTSTR *lpFileName)
{
len = lstrlen(*lpFileName) + 1;
if (len > 0 && szBuffer[len] != '\\')
{
// Modify string by adding a backsslash
}
}
Thanks,
Jef Driesen