about summary refs log tree commit diff
path: root/main.cpp
blob: b895b20ca3972d66958c7f1f2dbd928f74a1e5d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <iostream>
#include <stdlib.h>
#include <fstream>
#include <string>

int main(){
  // system("ls -l");
  // system("python3 download_data.py");

  std::string line;
  std::ifstream file ("TLE/argos.txt");

  if(file.is_open()){
    while(getline(file, line)){
      std::cout << line << '\n';
    }
    file.close();
  }

  else{
    std::cout << "Unable to open file";
  }

  return 0;
}