Want to use string class in C++ console app

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I created a C++ console application (.Net) and wanted to use string class
instead of wchar_t. I included <string.h> and declared a variable as string
data type. But compiler didn't recognize string class. What else should I do?

Thanks in advance!!!
Cindy
 
Cindy Liu said:
I created a C++ console application (.Net) and wanted to use string class
instead of wchar_t. I included <string.h> and declared a variable as
string
data type. But compiler didn't recognize string class. What else should I
do?

You'll find the C++ types hanging out in

microsoft.public.dotnet.languages.vc

You should post again there. When you do, state whether you are targeting
Win32 or the .Net platform (when you write .Net I'm not sure if that refers
to the tool or the platform).

It's always a good idea to post the exact text of the error message that you
get.

Regards,
Will
 
Back
Top