Add to git.
[c2lib.git] / doc / eg_join.c
1 #include <pool.h>
2 #include <pstring.h>
3
4 const char *strings[] = { "John", "Paul", "George", "Ringo" };
5
6 main ()
7 {
8   pool pool = global_pool;
9   vector v = pvectora (pool, strings, 4);
10   printf ("Introducing the Beatles: %s\n", pjoin (pool, v, ", "));
11 }