#include <iostream>
#include <cstdio> 等价 include <stdio.h>
//printf("hello world"); //write(1,"hello world",11);
“<<”:插入运算符
cout << "hello world";
int a = 10;
double d = 3.14;
char *str = "abdda";
//printf("%d,%lf,%s\n",a,d,str);
cout << a << ',' << d << str << endl;
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。