binary B+ tree - first attempt, compiles and runs
[svn/Cll1h/.git] / demos / ansi-c / print-c99.c
CommitLineData
420bb771 1#include <stdarg.h>
2#include <stdio.h>
3
4void _echo(char *s, ... ) { va_list ap; for(va_start(ap,s);s;s=va_arg(ap,char *)) fputs(s,stdout); va_end(ap); }
5#define print(...) _echo(__VA_ARGS__,"\n",NULL)
6#define echo(...) _echo(__VA_ARGS__,NULL)
7
8int main(void)
9{
10 echo("Hello ","world","! ");
11 print("Hello ","world","! ");
12}
This page took 0.118172 seconds and 4 git commands to generate.