So you could include <stdio> and <iostream> and write a hybrid c/c++ program? Is this just a Mac thing, or is it true of all versions of gcc? I guess I could test that question myself. I don't write...
Type: Posts; User: Rouss
So you could include <stdio> and <iostream> and write a hybrid c/c++ program? Is this just a Mac thing, or is it true of all versions of gcc? I guess I could test that question myself. I don't write...
I'm not sure what you mean. I don't think you can write a C program and compile it as C++, unless you include the C headers the way c++ likes it, <cstdio>, <cstring>, etc. And I don't think you can...
Whoa, I wasn't trying to prove anyone wrong (I don't have enough expertise to do that), I was just explaining the difference between the two.
It's not really like the cpp headers. You would...
Unlike C++, Obj C really is an extension to C. An Obj C program is really just a C program, using special C headers to allow you to use the Obj C object designs.
I've done a few projects for class...