30 lines
552 B
C++
30 lines
552 B
C++
#include <iostream>
|
|
#include <list>
|
|
#include <map>
|
|
#include <unistd.h>
|
|
#include <unordered_map>
|
|
#include <vector>
|
|
|
|
#include <Eigen/Dense>
|
|
|
|
using std::cout;
|
|
using std::endl;
|
|
|
|
int main(int argc, char* argp[]) {
|
|
Eigen::Vector2d X = Eigen::Vector2d::Ones();
|
|
cout << "X: " << X.transpose() << endl;
|
|
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;
|
|
}
|