summaryrefslogtreecommitdiff
path: root/NT/src/rotor.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-12-26 10:20:35 +0000
committerTim Redfern <tim@eclectronics.org>2013-12-26 10:20:35 +0000
commit0632c3bf7808608d9e1b165c30f6791662ce009c (patch)
treeada0494cace166afc7a4fa04b9c6465fca6457b3 /NT/src/rotor.cpp
parentcbf26b93d097cd4304de2fa037675b3211629a62 (diff)
template from_string
Diffstat (limited to 'NT/src/rotor.cpp')
-rw-r--r--NT/src/rotor.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/NT/src/rotor.cpp b/NT/src/rotor.cpp
index 2678dd5..f13f700 100644
--- a/NT/src/rotor.cpp
+++ b/NT/src/rotor.cpp
@@ -2,6 +2,12 @@
#include "rotor.h"
+using namespace std;
+using namespace Rotor;
+
int main(){
+ a_node a;
+ map<string,string> settings={{"p1","1"}, {"p2","2"}, {"p3","3"}};
+ a.init(settings);
printf("hello, world\n");
} \ No newline at end of file