some define statements for debug output

#define debug

#ifdef debug
	#define e_ printf("%d - here!\n", __LINE__); fflush(stdout);
	//#define e_

	#define i_(x) printf("%d - value is %d\n", __LINE__, x); fflush(stdout);
	//#define i_(x)

	#define s_(x) printf("%d -%s-\n", __LINE__, x); fflush(stdout);
	//#define s_(x)
#ifndef
	#define e_
	#define i_(x)
	#define s_(x)
#endif

Leave a Reply

Your email address will not be published. Required fields are marked *