navit  0.5.3-trunk
latlon2bookmark.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Navit, a modular navigation system. Copyright (C) 2005-2009 Navit Team

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. this program is free software, please use it as you like. i am not a programmer, so please have this code reviewed to make sure it has nog bugs or ill side efects. use at your own risk compile it with: gcc -l m -o latlon2bookmark latlon2bookmark.c Credits for this work goes to edje in navit

References argc, argv, description(), lat, M_PI, and M_PI_4.