快速说明:抱歉这个初学者的问题我是从C ++和一般的编程开始的。 这是我的整个代码,我不知道为什么,但是,当我运行它时,它会在1帧中打开和关闭但我希望它在不关闭的情况下不间断运行直到我关闭程序:
// This is my first C++ program !
#include <iostream>
using namespace std;
int main()
{
int x = 0;
int cars = 14;
int debt = -1000;
float cash = 2.32f;
double credit = 32.32;
char a = 'a';
char* sandwhich = "ham";
bool does_I_like_ice_scream = true;
auto do_I_have_a_good_cat = false;
auto blank_check = 200.00;
int over_9000 = INT_MAX;
cout << over_9000 << endl;
return 0;
}
谢谢! :d