What is the cost of a #define?

Posted by Espuz on Stack Overflow See other posts from Stack Overflow or by Espuz
Published on 2010-05-24T07:05:23Z Indexed on 2010/05/24 7:11 UTC
Read the original article Hit count: 166

Filed under:
|
|
|

To define constants, what is the more common and correct way? What is the cost, in terms of compilation, linking, etc., of defining constants with #define? It is another way less expensive?

© Stack Overflow or respective owner

Related posts about c#

Related posts about c++