コード例 #1
0
ファイル: marco.c プロジェクト: MarkTseng/mySampleCode
int main(int argc, char *argv[])
{
	int token34  = 34;
	tokenpaster(34);
	CMPFUNC_PROTO(char);
	return 0;
}
コード例 #2
0
ファイル: macros.c プロジェクト: renra/c_tutorial
void macros_exercise(){
  printf("Date is: %s\n", __DATE__);
  printf("Time is: %s\n", __TIME__);
  printf("File is: %s\n", __FILE__);
  printf("Date is: %s\n", __DATE__);
  printf("Line is: %d\n", __LINE__);
  printf("STDC is: %d\n", __STDC__);

  call("Obi-Wan Kenobi");

  int token34 = 40;
  tokenpaster(34);

  printf("The speed of light is: %d\n", SPEED_OF_LIGHT);
}
コード例 #3
0
ファイル: fdefine.c プロジェクト: muxuezi/helloc
int main( )
{
   printf( "Value of TRUE : %d\n", TRUE);
   printf( "Value of FALSE : %d\n", FALSE);
   printf("File :%s\n", __FILE__ );
   printf("Date :%s\n", __DATE__ );
   printf("Time :%s\n", __TIME__ );
   printf("Line :%d\n", __LINE__ );
   printf("ANSI :%d\n", __STDC__ );
   message_for(Carole, Debra);
   int token34 = 40;
   tokenpaster(34);
   printf("Here is the message: %s\n", MESSAGE);  
   printf("Max between 20 and 10 is %d\n", MAX(10, 20));  
   return 0;
}
コード例 #4
0
ファイル: preprocessing.c プロジェクト: olabusayo/samplecode
int main(void) {
	int token34=40;
	tokenpaster(34);	
	return 0;
}