Thread
:
Macros in C
View Single Post
#
1
(
permalink
)
05-11-2006, 02:14 PM
Parag Dave
Junior Member
Join Date: May 2006
Location: Mumbai
Posts: 1
Rep Power:
0
Macros in C
Hi ,
below macro defination works fine with .cpp file and gives me error with .c
#define DLOG(fmt,args...) printf(fmt, ## arg
can anybody tell me the reason for such behaviour .
I am using GCC 3.0(gcc3/g++3) compiler.
thanks
Parag Dave
View Public Profile
Send a private message to Parag Dave
Find all posts by Parag Dave