我在看这段代码时想知道:
#include<iostream>
#include<conio.h>
using namespace std;
int main(){
int a,b;
cout << "enter 1";
cin >> a;
cout << "enter 2";
cin >> b;
getch();
return 0;
}
Run Code Online (Sandbox Code Playgroud)
如果我们可以连续得到变量a和b的输入之间的时间差.
我有一个代码:
#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
cout<<"Hello World!";
getch();
return 0;
}
Run Code Online (Sandbox Code Playgroud)
我能收回字符串"Hello World!" 在一些char或字符串变量?