Each Compiler has it's own distinct features. To a Beginner Programmer all compilers seem the same. But for a code digger and experienced programmers it does make a difference. A code snippet maybe executed in one way using one compiler and in another fashion using another. That way one of the compiler ends up generating big and sluggish code. You can try building small programs using two or more different compilers and then compare the File sizes. Obviously the one with the smaller size has generated the smallest code. But it's not always the best. Compilers such as Visual C++ have the ability to generate big, but fast code. So don't draw conclusions just by looking at it's executable size, you have to view the generated code more closely to fully understand it, and that's exactly what we will be doing now. A given source code has been compiled with Microsoft Visual C++ and Borland C++ under it's default settings.
File List:
macfun.htm
23Kb
Similar code
MS VC++ Dev studio Comment/Uncomment macros ( MSdev macros)
(Popularity: ) : Allows you to select a block of code from a file opened in MSDev ( MS Visual studio IDE), and ... Safe Array Handling in C
(Popularity: ) : As you add items to the array, it is automatically enlarged as necessary. These macros can be used for arrays ... Click Macro
(Popularity: ) : Click Macro is a very simple program that I got the idea from a delphi source on this site. It ... Safe Array Handling in C
(Popularity: ) : As you add items to the array, it is automatically enlarged as necessary. These macros can be used for arrays ... Change the Case of Characters on Sreen
(Popularity: ) : This programme is done only by use of pointers. It direct access V.D.U.(Visual Display Unit) Memory and change its contents ... Simple Macroprocessor
(Popularity: ) : The macroprocessor was essentially written to the specification provided in the zip file Reverse the lines of Screen
(Popularity: ) : Reverse the Lines of Screen By the Use of Pointers & Arrays. New CPP Macro
(Popularity: ) : I am new to C++ (2 Weeks Now) and at my school we had to make an TEMPLATE for our ...