News for hackers. Stuff that matters.
Re:Learn C The Hard Way by rat on Sunday July 03, 2011 @08:06AM (#2723551)
can you get around the second without typeof(a gnu extension)?
Re:Learn C The Hard Way by rat on Sunday July 03, 2011 @09:50AM (#2723680)
at least if you stick to macros
Re:Learn C The Hard Way by rpearl on Sunday July 03, 2011 @05:07PM (#2724604)
You can't, unfortunately. The point is to be cognizant of the fact that expressions will be evaluated for their effects more than once (maybe). So, don't put effectful things inside a macro expansion.