+ 2

How can i input two values in imput window?

10th Nov 2016, 3:10 PM
Si Di
Si Di - avatar
2 Réponses
+ 2
int a, b, c; std::cin >> a >> b >> c; You can enter the values like this: 1 2 3 *enter* or: 1 *enter* 2 *enter* 3 *enter
11th Nov 2016, 2:07 AM
Cohen Creber
Cohen Creber - avatar
+ 5
separate lines.
10th Nov 2016, 4:17 PM
Вадим Глушков
Вадим Глушков - avatar