Visual C++ .NET/Language Basics/nullptl
If it is a nullptl
#include "stdafx.h"
using namespace System;
int main()
{
String^ str;
while ((str = Console::ReadLine()) != nullptr)
{
Console::WriteLine( str->ToUpper() );
}
}
#include "stdafx.h"
using namespace System;
int main()
{
String^ str;
while ((str = Console::ReadLine()) != nullptr)
{
Console::WriteLine( str->ToUpper() );
}
}