Does it makes sense to MSVC++ what to include #include <string.h>
or #include <string>
? I suppose that both are identical. Am I wrong?
When I do include #include <string.h>
in my header with function declaration shown below I have the error:
Error 12 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
int userInput(HWND dialogWnd, char *pcResult, int iBufferLen, int iTimeoutSec, int iMinDataSize, int iMaxDataSize, const std::wstring & pcFormHeader, const std::wstring & pcDefaultText);