How to reduce a final size of executable?
Answers were Sorted based on User's Feedback
Answer / lylez00
Don't include unnecessary header files.
Don't link with unneccesary object files.
Is This Answer Correct ? | 16 Yes | 2 No |
Answer / kriba
Try to avoid Debugging symbols which will be normally
avoided in the Release build of the application.
Try to use Explicit linking of libraries instead of
implicit linking which may also help you in versioning of
your application.
In VC shared MFC application is a classical example of
runtime bonding.
Is This Answer Correct ? | 9 Yes | 2 No |
Answer / kuvaibhav
In addition to all of above, you can use 'strip' utility in
*nix to remove symbols from objects. It is usually done
before shipping executables to customers.
Is This Answer Correct ? | 2 Yes | 0 No |
What is the use of lambda in c++?
without if else statement can be written ah
why all c++ program must have default constructor?
Problem 6: Area of a trapezoid can be calculated by the following formula: A=(b1 b2)×h2 where b1 and b2 are the parallel sides or the bases and h is length of height Write a C code of this program
Differences between private, protected and public and give examples.
what is Loop function? What are different types of Loops?
Can you write a function similar to printf()?
write a program that a 5 digit number and calculates 2 power that number and prints it.
2 Answers Vimukti Technologies,
Differentiate between realloc() and free().
What are friend functions in C++?
Difference between pass by value and pass by reference?
What is meant by entry controlled loop? What all C++ loops are exit controlled?