Quote from: daydreamer on August 29, 2021, 01:58:42 AM
well its easy to make macros in masm,because I am experienced
but I am less experienced in VC++ way of making macros
which I wish for,to shorten often used almost same api calls?
SendMessage several things becomes very long to write
Hi daydreamer,
C++ macro operations are not popular, all the rest is replaced by the templates. There is one interesting meta add-on over the C preprocessor:
https://github.com/Hirrolot/metalang99
Metalang99 is a functional language aimed at full-blown C99 preprocessor metaprogramming.
It features a wide range of concepts, including algebraic data types, control flow operators, collections, recursion, and auto-currying -- to develop both small and complex metaprograms painlessly.