summaryrefslogtreecommitdiff
path: root/iotest/src/iotest.cpp
diff options
context:
space:
mode:
authorguest <guest@c30cbac5-9f56-4f76-8ed5-5c34e48a65ae>2007-10-23 08:21:21 +0000
committerguest <guest@c30cbac5-9f56-4f76-8ed5-5c34e48a65ae>2007-10-23 08:21:21 +0000
commit507481336146ca188a9a9d9d1548d5dc81539a60 (patch)
tree7f1f843c4c671ea4a124c1a5bff20b337af6a4b6 /iotest/src/iotest.cpp
parentffa1d73a9e71291c321af6a6cd36f6438144ec85 (diff)
Initial import.
git-svn-id: svn+ssh://mecka.net/home/svn/dds@15 c30cbac5-9f56-4f76-8ed5-5c34e48a65ae
Diffstat (limited to 'iotest/src/iotest.cpp')
-rw-r--r--iotest/src/iotest.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/iotest/src/iotest.cpp b/iotest/src/iotest.cpp
new file mode 100644
index 0000000..a3b3337
--- /dev/null
+++ b/iotest/src/iotest.cpp
@@ -0,0 +1,28 @@
+//============================================================================
+// Name : iotest.cpp
+// Author : Manuel Traut
+// Version :
+// Copyright : GPLv2
+// Description : Hello World in C++, Ansi-style
+//============================================================================
+
+#include <iostream>
+
+#include "diasio.h"
+
+using namespace std;
+
+int main() {
+ cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
+
+ DIASIO dias;
+
+ int counter = 0;
+
+ while(counter < 255){
+ dias.set(counter);
+ counter++;
+ }
+
+ return 0;
+}