诸位好:请问如何将下面的程序转换C++程序#include<stdio.h>int main(void){ char c=127; c=c+1; printf("c=%d\n",c); return 0;}
#include <iostream>
using namespace std;
int main(void)
{
char c=127;
c=c+1;
cout<<(int)c<<endl;
return 0;
}