summaryrefslogtreecommitdiff
path: root/iotest/src/iotest.cpp
diff options
context:
space:
mode:
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;
+}