Hello,
I'm starting to learn C or C++ and i want to know two things:
- Difference Between C And C++
- What Is The Best C Or C++
Thanks,
Nathan Paulino Campos
Printable View
Hello,
I'm starting to learn C or C++ and i want to know two things:
- Difference Between C And C++
- What Is The Best C Or C++
Thanks,
Nathan Paulino Campos
Too numerous to list.
To be basic, C++ is a higher-level version of C, more modern, flexible and powerful.
The best depends on where you want to use it, and it's also subjective because everyone has a different opinion. If it's computer software, the "best" choice I would make is C++. Same goes for games.
For drivers you will end up stuck with C. For embedded systems, support for C++ may be scarce, so you may have to use C for this.
Hello Elysia,
Thanks for the aswear, then i'm going to buy a C++ Book to read.
Thanks,
Nathan Paulino Campos
I took a look at your web site. It looks like you want to do windows programming, or port something to windows. (I do not read your language.) To that end, if you're interested in doing that right away, find out what you want to port is written in, and learn about it.
Hello whiteflags,
Yes but i changed my site to: Dev Python and i don't changed it here.
Thanks,
Nathan Paulino Campos
Ah, but I think that isn't what nathanpc is after.
What he/she is after is not the backwards compatibility of C++, but rather what is a considered a good C++ program vs a good C program.
Sometimes the answers people are after are deceptive and wrong.
I agree, but I can't see why difference it would make to know the difference between ISO C and ISO C++.
It seems to the OP wants to know which language to learn of C and C++, hence asking a somewhat vague question, what's best (because the OP doesn't know any better)?
C was the C++ predecessor.........it has features that lend itself better to really big projects
C lends itself better for really big projects?
Well you're right, he is asking a very vague question, and he got what he deserved, a very literal answer. You can only seriously answer a well thought out question.
Maybe you were being rhetorical. I think they have the same capacity.
No, I was asking if C has features that lends itself better for bigger projects, or if it was a typo.
If we compare C and C++, then C++ has features that lends itself from bigger projects (because C++ only adds things to C and not removes them, it would be illogical to say C has such features).
As to which is better for any type of project, big or small, that's a different question.