Hi,
I am having a very strange problem with std::string. Here's the code:
I did "using namespace std;", and nowCode:char temp[100]; gets(temp); printf("%s\n", temp); string t(temp);is not working. Any ideas? My input was "lee".Code:string t(temp)
Thanks.