Visual C++ .NET/Language Basics/nullptl — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
| |
Версия 15:31, 26 мая 2010
If it is a nullptl
#include "stdafx.h"
using namespace System;
int main()
{
String^ str;
while ((str = Console::ReadLine()) != nullptr)
{
Console::WriteLine( str->ToUpper() );
}
}