ADD: new track message, Entity class and Position class

This commit is contained in:
Henry Winkel
2022-12-20 17:20:35 +01:00
parent 469ecfb099
commit 98ebb563a8
2114 changed files with 482360 additions and 24 deletions

View File

@@ -0,0 +1,13 @@
#include <stdio.h>
#include "cgeoid.h"
#if defined(_MSC_VER)
/* Squelch warnings about scanf */
# pragma warning (disable: 4996)
#endif
int main() {
double lat, lon, h;
while(scanf("%lf %lf %lf", &lat, &lon, &h) == 3)
printf("%.3f\n", HeightAboveEllipsoid(lat, lon, h));
}