I am a newbie on c++
I am creating a console application that has some value in string and using Console::Writeline it will display this value, following is the sample code i am using.
std::string response;
Console::WriteLine(response);
Plz help
Printable View
I am a newbie on c++
I am creating a console application that has some value in string and using Console::Writeline it will display this value, following is the sample code i am using.
std::string response;
Console::WriteLine(response);
Plz help
What kind of help are you talking about?
Console::WriteLine is managed C++.
Did you intend to write a managed C++ application?
Try
Code:#include <iostream>
std::string response;
std::cout << response << std::endl;