+ 1
What is macro used for and the reasons behind using it?
I just got an Actual IDE (RJ TextED) this one mainly because its free and i just code as a hobby and i also ditched my previous one (Notepad++) but i noticed that both had macro in it and i never bothered to figure out what it did or its purpose so i tried it and i dont know how it can be used for real world applications so my question is why does it exist in the software? and why is it used?
1 ответ
0
what programming language are you working with?
in C a macro is like a constant that defines any number of instructions or values.
for example you can define a block of code that you use repeatedly as a macro and use that macro instead of writing the same code every time.