Skip to content

Instantly share code, notes, and snippets.

@sugbuv
sugbuv / gps_points_calc.cpp
Last active Apr 20, 2021
GPS points calculated by using the distance and direction of the movement
View gps_points_calc.cpp
#include <stdio.h>
#include <math.h>
#include <time.h>
#include <iostream>
#include <string>
#include <iomanip>
using namespace std;
int main(int argc, char** argv) {
constexpr double earthRadius = 6371000.0;