参考资料 #include <iostream> using namespace std; void f(){ cout << "hello, world" << endl; } int main() {