#include<stdio.h> int main(){ printf("hello nowcoder"); return 0; }
代码如上,注意细节
尤其指不要漏掉分号“;”
当然你也可以改为
printf("hello nowcoder"):你甚至可以尝试C++
#include<iostream> using namespace std; int main(){ cout << "hello nowcoder"; return 0; }相应的,你也可以改成
cout << "hello nowcoder" << endl;