C++中print和printf的区别

print与printf的区别

1,print 中不能使用%s ,%d 或%c;

2,print 自动换行,printf 没有自动换行。

猜你喜欢

转载自www.cnblogs.com/yun-an/p/11070228.html