nyctergatis.com

Contact

Projects
Sysquake Remote Live
NME
PDF
Hike
Sudoku
GifBuilder
jpeglib for Palm OS
MySQL Client
Cross-GCC for Mac OS
NMETest.cpp
Go to the documentation of this file.
00001 
00008 /* License: new BSD license (see NME.h) */
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 }
Generated by Doxygen.
Copyright 2007-2011, Yves Piguet.
All rights reserved.