[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Modifying source?



Dovev Hefetz wrote:
> 
> >#define MAX_LOOP 8
> >
> >Does the hash in front of it mean it is commented out (like in a bash/perl
> >script) or is it just the format for c?

The '#' marks it as a preprocessor directive.
there are may in C and C++ like:
#include
#define
#ifdef
#else
#pragma

The allow maintainability in the code.
try 'info cpp directives'
for mor on what they are and what they do.

	-Thomas



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]