What is the difference between define with and without hash mark?
Thank you for your help
Asked
Active
Viewed 621 times
1 Answers
4
Assuming you refer to the simple C-like preprocessor statements of the form #definenamevalue (and not to define as or define as computed macros), there is no difference at all. The # in this syntax was supposed to be mandatory, but for historical and backward compatibility reasons it was left optional.
Yuri Tsoglin
- 963
- 4
- 7