Hi,
just lately i heard about macros in C, and i was wandering what are they used for and how are they written? Can please someone tell me this.
Thanks,
Best Regards,
BoSCHoW.
|
Go4Expert Member
|
|
| 14May2007,17:30 | #2 |
|
macros is like a function
differenses are: text of macros is putting every time ,when you use it in a programm(function - 1 time) and this is a processor directive , that means nothing else can have its name so macros is used to avoid mistakes when you use some operation many times |
