gpt4 book ai didi

c++ - C++代码运行后如何让窗口保持打开状态?

转载 作者:可可西里 更新时间:2023-11-01 18:25:49 25 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
How to stop C++ console application from exiting immediately?

我正在尝试查看我的结果,我应该如何处理我的代码才能查看我所做的是否正确?

#include <iostream>
using namespace std;

int main()
{
cout << "C++" << endl;
cout << "The sum of 11 + 12 = " << 30/2 << endl;
return 0;
}

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com