표적#좌표#GPS#거리#방위각#bearing (1) 썸네일형 리스트형 C언어 GPS 좌표간 방위각 구하기 #include "stdafx.h" #include "math.h" #include #define PI 3.141592653589 #define _CRT_SECURE_NO_WARNINGS // scanf 보안 경고로 인한 컴파일 에러 방지 double ConvertDecimalDegreesToRadians(double deg) { return (deg * PI / 180); } double ConvertRadiansToDecimalDegrees(double rad) { return (rad * 180 / PI); } int main(void) { double lon1,lat1; double lon2,lat2; printf("기준표적 경도/ 위도를 넣으시오\n"); scanf("%lf %lf",&lon1,.. 이전 1 다음