Good day. I started using the above editor to write a lab in C ++, I ran into a problem. Suppose I compile a program.
#include <iostream> using namespace std; int main() { int a,b; cout<<"Введите a,b"<<endl; cin>>a>>b; cout<<a+b<<endl; return 0; }
And here comes the problem. Ctrl + B, then Ctrl + Shift + B (Build & Run). The program compiles, runs itself from somewhere takes values, counts and closes. Question: how to make the sublime text console let me enter values ​​myself? Those. make it work with input stream.