#define SOME_DEFINE 1 ... Some code #if SOME_DEFINE == 0 ... some more code else ... something else #endif
Whats the problem? Its the missing '#' infront of the else. It silently ignores all the code after the #if
Posted 03 October 2005 - 09:34 AM
#define SOME_DEFINE 1 ... Some code #if SOME_DEFINE == 0 ... some more code else ... something else #endif
Posted 03 October 2005 - 11:57 AM
Posted 03 October 2005 - 11:59 AM
Posted 03 October 2005 - 03:33 PM
for ( i=0;i<50;i++ ); printf ( "Now counting: %d\n", i );
Posted 03 October 2005 - 04:01 PM
Posted 03 October 2005 - 07:54 PM
Posted 03 October 2005 - 08:07 PM
leblebi said:
for ( i=0;i<50;i++ ); printf ( "Now counting: %d\n", i );
NomadRock said:
Posted 03 October 2005 - 11:09 PM
bramz said:
baldurk said:
Posted 04 October 2005 - 12:30 AM
baldurk said:
Posted 04 October 2005 - 01:08 AM
for( i=0;i<50;i++) ; printf( “Now counting: %d\n”, i );witch is the same as:
for( i=0;i<50;i++)
{
;
}
printf( “Now counting: %d\n”, i );
Posted 04 October 2005 - 01:18 AM
Posted 04 October 2005 - 09:28 AM
Posted 04 October 2005 - 09:30 AM
leblebi said:
for ( i=0;i<50;i++ ); printf ( "Now counting: %d\n", i );
Posted 04 October 2005 - 09:39 AM
.oisyn said:
Posted 04 October 2005 - 04:01 PM
NomadRock said:
Posted 04 October 2005 - 05:44 PM
bramz said:
Posted 04 October 2005 - 06:00 PM
Posted 04 October 2005 - 10:23 PM
Posted 05 October 2005 - 10:51 AM
bramz said:
Posted 05 October 2005 - 02:46 PM
0 members, 1 guests, 0 anonymous users