📜  我需要编写一个 int 函数,其中只有 cout 语句,如果我返回 0 1 它也会打印它们. - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:49.125000             🧑  作者: Mango

代码示例1
/*
 * First C++ program that says hello (hello.cpp)
 */
#include     // Needed to perform IO operations
using namespace std;
 
int main() {                        // Program entry point
   cout << "hello, world" << endl;  // Say Hello
   return 0;                        // Terminate main()
}                                   // End of main function