playground/wandbox.cpp
2024-09-07 22:38:11 -04:00

26 lines
441 B
C++

#include <iostream>
#include <list>
#include <map>
#include <unistd.h>
#include <unordered_map>
#include <vector>
using std::cout;
using std::endl;
int main(int argc, char* argp[]) {
int counter = 0;
int b = 10;
int x= 10;
if (x = 0) {
cout << "This should generate a lint error" << endl;
}
while (true) {
cout << "hello" << endl;
cout << counter++ << endl;
sleep(1);
}
return 0; //-1;
}