tags:

views:

65

answers:

1

what is valid form of this code in visual c++? this does not work i took it from microsoft

using namespace System;
int main() {
   Console::WriteLine(__CLR_VER);
}
A: 

To print text on console you can use:

cout << _("This is my text") << endl;

or

_tprintf(_T("This is my text"));

AOI Karasu