playground/wandbox.cpp

30 lines
552 B
C++
Raw Normal View History

2024-09-07 22:38:11 -04:00
#include <iostream>
#include <list>
#include <map>
#include <unistd.h>
#include <unordered_map>
#include <vector>
2024-09-08 02:10:41 -04:00
#include <Eigen/Dense>
2024-09-07 22:38:11 -04:00
using std::cout;
using std::endl;
int main(int argc, char* argp[]) {
2024-09-08 02:10:41 -04:00
Eigen::Vector2d X = Eigen::Vector2d::Ones();
cout << "X: " << X.transpose() << endl;
2024-09-07 22:38:11 -04:00
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;
}