Top Content Up Prec

3. One little example


here is a little code snippet to get started.

#include <stdio.h>

int main (int argc, char *argv[])
	int count;
	glocal.count = 0;
	<call loadfile>("/tmp/file",true);
		<f oneline>
		<f empty>
			printf ("The file is empty\n");
	return 0;

One little example

This little program counts the number of lines in a text file and print a message if the file is empty.
Top Content Up Prec

Table of content
One big HTML document