Developer FAQs

Developer Questions And Answers

×
MENU
  • Languages
  • Web
  • Database
HomepreprocessorPosts
Macro replacement list rescanning for replacement Languages

Macro replacement list rescanning for replacement

I'm reading the Standard N1570 about macro replacement and misunderstand some wording from 6.10.3.4.
01月15日 发表评论
Read More
Finding the largest size of 100 structs at compile time in C Languages

Finding the largest size of 100 structs at compile time in C

I have 100 structs that look something like this:I want to find the largest sizeof from among these structs at compile time. I tried using a comparison macro like this:
12月08日 发表评论
Read More
Is #defining within a block really a code smell? Languages

Is #defining within a block really a code smell?

I read that #defining and #undefining inside a block is a code smell. Why is that? Also, I see that in the code(just a sample that shows what I have in the actual code), this compiles,
05月17日 发表评论
Read More
Copyright ©  Developerfaqs  All Rights Reserved.

登录 找回密码

输入用户名或电子邮箱地址,您会收到一封新密码链接的电子邮件。

  • 文章目录
  • icon