none
Insufficient resources exist to complete the requested service RRS feed

  • Întrebare

  • trying to run this code and error pops ''insufficient system resources exist to complete the requested service" visual studio 2019

    #include <iostream>

    using namespace std;

    void Greet(void)
    {
    cout << "Ave user!" << endl;
    }

    void GreetManyTimes(int howmanytimes)
    {
    while (howmanytimes > 0)
    {
    Greet();
    howmanytimes--;
    }
    }

    int main(void)
    {
    int sizeofego;

    cout << "How big is you ego? [km]" << endl;
    cin >> sizeofego;
    GreetManyTimes(1 + sizeofego / 10);
    return 0;
    }

    marți, 19 ianuarie 2021 17:15