blob: f9e0ce8c3e895c8552779969f5891972c7969a61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-locator.cc,v 1.2 2012/05/04 16:19:37 joerg Exp $
--- locator.cc.orig 2001-07-29 11:33:02.000000000 +0000
+++ locator.cc
@@ -3,15 +3,17 @@
/* Last change 29.07.2001 */
/* A few includes */
-#include <iostream.h>
+#include <iostream>
#include <string.h>
#include <stdio.h>
+using namespace std;
+
/* A few definitions */
#define VERSION "0.1"
/* Main program */
-main(int argc, char *argv[]) {
+int main(int argc, char *argv[]) {
float c_long, c_lat;
char *locator;
|