printf("%d",n);//用int类型的输出
printf("%i",n);//用int类型的输出
printf("%f",n);//float类型的输出
printf("%lf",n);//double类型的输出
printf("%.3f",n);//小数点后保留三位
printf("%.4lf",n);//double类型的小数点后保留4位数
printf("%s",a);//字符串的输出
puts(a);字符输出;
printf("我是菜鸟");//输出我是菜鸟字样;
printf("我是菜鸟\n");//输出完了换行;
\b是退格;
\t是横向跳就是多个空格;
我们现在基本不用了在可视化里根本不用了那里有UpdateData(0);
之类的很多呢
以上功能就行了够用了;
我是结合你是初学者要掌握的要点给你发得