From c74f4682f1dc1696e276f4018c4a8658c44e565c Mon Sep 17 00:00:00 2001 From: sk-5 Date: Wed, 15 Jul 2015 14:03:01 -0700 Subject: [PATCH] added C example --- examples/example.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/example.c diff --git a/examples/example.c b/examples/example.c new file mode 100644 index 0000000..914e7e0 --- /dev/null +++ b/examples/example.c @@ -0,0 +1,15 @@ +#include +#include +#include +#include + +main() { + int a,b; + const char* str = "|0101|0202|0303|0404|0505|0606|0707|0808|0909|1010|1111|1212|1313|1414|1515|07"; + const char* name = "|01P|02i|03p|04e|05c|06ol|07o|08r|09s |10l|11i|12b|13r|14a|15r|14y |130|12.|111|07"; + + a = pcprintf("\n%s\n\n", name); + b = pcprintf("%s\n", str); + + +}