blob: 9a8165227202cb61f8329aa790bb918d868e6474 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <stdio.h>
#include <html.hpp>
#include <plain.hpp>
#include <file.hpp>
int main()
{
TexoFileExporter exporter(stdout);
TexoHTMLProducer producer(exporter);
TexoPlainImporter importer(producer);
importer.PutStr(
"I am a little cute line. \n"
"I am another and that's fine. \n"
"But I am as long as a pine,\n"
"so lets drink a glass of wine.\n\n"
"Second paragraph was started here. \n"
"Take your bananas and go home, seer.\n"
);
return 0;
}
|