Visual C++ .NET/Development/printf s — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
Admin (обсуждение | вклад) м (1 версия) |
(нет различий)
|
Текущая версия на 15:04, 26 мая 2010
Using printf_s to output message
<source lang="csharp">
- include "stdafx.h"
using namespace System;
- include <stdio.h>
int main() {
String^ str = "managed string"; // The string is automatically converted to a // char array for printf_s printf_s("%s", str );
}
</source>