I need two functions in C. I use MSVC++. 1-Given the Latitude and Longitude for two points calculate the distance in feet between the two points and the heading direction from point 1 to point 2 in degrees(0-360). Input parameters(double): Lat1,Long1,Lat2,Long2 Example: 35.567843,-97.567489,35.567793,-97.567556 Output:Distance in feet, heading in degrees(0-360) The function can receive a pointer to two double variables where you can put the results. 2-Given the Latitude and Longitude of one point, the distance in feet to another point and the heading direction(0-360) calculate the latitude and longitude of the second point. Input parameters(double): Lat1,Long1,Dist(feet),Heading(degrees 0-360) Example: 35.657453,-97.568656,127.0,47.3 Output: Latitude and Longitude of ending point. Lat2, Long2
## Deliverables
1) Complete and fully-functional working function ready to be incorporated into a C program. Use the MSVC++ C compiler. Complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased.
## Platform
PC, MSVC++