puts 比简单,printf但请注意,前者会自动添加换行符。如果这不是您想要的,则可以fputs将字符串输出到stdout或使用printf。 ... puts()vs printf()-C / C ++答案.
確定! 回上一頁