Recent Changes - Search:

edit SideBar


Firefox 2
Get Thunderbird!

C /

Preprecessors

#include <stdio.h>


// #define - sabit
#define X 2

// #define - Bir program parcasina simgesel isim verilmesi. 
#define dongu(x,y) for(x=0;x<y;x++)


// #define - makro fonksiyon
#define topla(a,b) a+b 


// #if, #else, #endif
#if X
	#define Y 5
#else
	#define Y 3
#endif


// #ifdef, #else, #endif
#ifdef X
	#define Y 1
#else
	#define Z 1
#endif

// #ifndef, #else, #endif
#ifndef X
	#define X 1
#else
	#define Z 2
#endif

main(int argc, char *argv[]) {

	printf("Program: %s \nSatir sayisi: %d \n", __FILE__, __LINE__);


	return 0;
}


Edit - History - Print - Recent Changes - Search
Page last modified on September 03, 2005, at 10:07 PM