C++ Saved Program: majestic-mountain

facebook share

Here's the online compiler accompanied with IDE at your service. This is a saved code by one of our users. Try it out or save your own from the IDE page and don't forget to leave a feedback. You can find that at the bottom of the page.

// Example program
#include <iostream>
#include <chrono>
#include <thread>
#include <string>
#include <time.h>
using namespace std;
int main()
    int password
    cout << "Hello" << endl;
    // This is a friendly introduction :)
    cout << "Enter our code or be a guest" << endl;
    cout << "You have 30 seconds" << endl;
    sleep_until(system_clock::now() + seconds(30));
    cin >> password;
    cout << "Hello" << endl;


Press the execute button or CTRL + enter to run code.