Created
April 19, 2020 15:12
-
-
Save bmcculley/efd12bc573120e0c6c75e2b0e86b5a9a to your computer and use it in GitHub Desktop.
A quick test for my answer here https://stackoverflow.com/a/61175504/1585957
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <thread> | |
#include <chrono> | |
using namespace std; | |
int main(int argc, char const *argv[]) | |
{ | |
cout << "Hello, world"; | |
this_thread::sleep_for (chrono::seconds(5)); | |
cerr << "this is an error"; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment