Menu

#4 Preprocessing macros

open
nobody
None
5
2004-08-04
2004-08-04
Edson Borin
No

The language should provide preprocessing macros such
as #define and #include. These features help a lot when
designing repetitive and configurable things. For
example: when using the method set_cycles (n), the
number n should be a define, so that to change the
number of cycles spent by some instruction group (eg,
the multiply instructions) we would just change the
define value.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.