<<<Index>>>

forever



#include <iostream>
int main()
{
    for ( ;; ) // forever
    {
        // "endless" loop:
        char answer;
        std::cout << "Exit program? Y/N:";
        std::cin >> answer;
        if ( answer == 'Y' || answer == 'y' ) {
            return 0;
        }
    }
    return 0;
}

<<<Index>>>