jeudi 12 décembre 2019

why double value cause the program to exit despite printing the output?

#include <iostream>

using namespace std;

int main() {
    int i = 0;
    while (std::cin >> i) {
        std::cout << "It's ok\n";
    }
}

double cause the program to exit despite executing the program

Aucun commentaire:

Enregistrer un commentaire