|
From: Roger C. <rc...@ic...> - 2003-10-03 14:12:52
|
Dear sir,
I wrote some programs using Dev-C++ using C coding and C++ coding. I realize a
too big difference between the size generated by each coding way. Is there a
way to generate smaller executable C++ files. Bellow, there is an example
showing this:
Example using C:
#include <stdio.h>
#include <stdlib.h>
main()
{
printf("\nHello\n");
}
The size of the generated by Dev-C++ PrintC.exe file is 27,856 bytes.
Example using C++:
#include <iomanip.h>
main()
{
cout << endl << "Hello" << endl;
}
The size of the generated by Dev-C++ PrintCpp.exe file is 1,268,542 bytes.
Thank you for your help
Roger
------------------------------------------
Mensagem enviada atraves do WebMail ICONet
|