Go to the documentation of this file.00001
00008
00009
00010 #include <iostream>
00011
00012 #define UseNMECppException
00013 #include "NMEStyleCpp.h"
00014
00015 using namespace std;
00016
00017 int main()
00018 {
00019 NMEStyle nme;
00020
00021 nme.setInput("=Test\n"
00022 "==Section A\n"
00023 "Some text...\n"
00024 "==Section B\n"
00025 "*First item\n"
00026 "*Second item\n"
00027 "**Sublist item\n");
00028 char const *output;
00029 nme.getOutput(&output);
00030 cout << output;
00031 return 0;
00032 }