Hacker News new | ask | show | jobs
by quotemstr 2389 days ago
No, it does not.
1 comments

  $ cat hello.c
  #include <stdio.h>

  int main(void)
  {
   printf("hello world\n");
   return 0;
  }

  $ cat hello.cpp
  #include <iostream>

  using namespace std;

  int main(void)
  {
   cout << "hello world" << endl;
   return 0;
  }

  $ gcc -o hello_c hello.c
  $ g++ -o hello_cpp hello.cpp
  $ ll hello_*
  -rwxr-xr-x 1 root root 5880 Dec  5 14:13 hello_c
  -rwxr-xr-x 1 root root 7424 Dec  5 14:14 hello_cpp
I see 1544 bytes of bloat. Hope that helps.