// Convert Int to Char
#include "stdafx.h"
#include <iostream>
using namespace System;
using namespace std;
int main(array<System::String ^> ^args)
{
for (short i = 0; i < 8; i++ )
{
char newChar = i;
cout << i << " = " << newChar << "\n";
}
cin.get();
return 0;
}
最后输出,数字 7 没有显示任何字符,只有空格。