--- In [email protected], "Paul Herring" <[EMAIL PROTECTED]> wrote: > > On 1/24/07, mr_gees100_peas <[EMAIL PROTECTED]> wrote: > > --- In [email protected], "Paul Herring" <pauljherring@> wrote: > > > On 1/24/07, mr_gees100_peas <geovar13@> wrote: > > > > > [...] > > > > the executable for the C style version was 15.4Kb on my system. The > > > > C++ style was 464KB in sized. > > > > > > > > > Try the following and let us know the size: > > You didn't let us know the size ;) > > > > #include <cstdio> > > > #include <cstdlib> > > > > > > using namespace std; > > > > > > int main(int argc, char *argv[]) > > > { > > > printf("Hello World!\n"); > > > system("PAUSE"); > > > return 0; > > > } > > > > > > Ohh nifty little trick. Does it handle other c++ quirkiness? If so > > then mia culpa mia culpa, erase everything else I said before then. > > 'trick'? 'quirkiness'? Not sure I understand? > > > -- > PJH > > Some people, when confronted with a problem, think "I know, I'll use > regular expressions." Now they have two problems. > Jamie Zawinski, in comp.lang.emacs >
It was about the same size as the C version. 15.4kb. By quirkiness I mean if there is a catch when using it with C++. Lets say as opposed to using streams COUT CIN.
