19

So i helped my friend write a program and i sent it to him. The next day he told me that the code dosent run, so i asked him to show me the errors and apparently he thought C and C++ is the same thing and was trying to run my C code as C++ code...

Comments
  • 0
    whooooow, smack the bit out of him-ish
  • 5
    Any C++ compiler can compile C though...
  • 0
    @stevemk14ebr i guess there is still some differences since i had to make some changes for it to compile
  • 2
    Yeah it's quite bad that even though the name suggests it, C++ is actually not really just an extension, but a new language based on the ideas from C.
  • 1
    That's a common noob mistake. Nothing to facepalm.
Add Comment