Hacker News new | ask | show | jobs
by octopus 4502 days ago
There is no C/C++ language today! You are talking about two very different languages with similar roots.
2 comments

I know they're different, but they're still close enough to use C code in your C++ projects.

And for my limited knowledge of C++, it still "feels" like an extended C.

I'm not claiming I know a hell of a lot about either - just that I know enough, for both to give me power and possibilities way beyond any other language :)

Sounds like you are more of a C++ = C with classes type of guy.

Maybe this will interest you:

http://channel9.msdn.com/Events/GoingNative/GoingNative-2012...

Definitely! And I know I'm missing out on a lot... ;)

I don't get to use C++ enough, so I haven't been digging into the depths of what it's capable of.

I mostly program for embedded computers, when I get anywhere near C or C++, so not to much incentive to go digging... :-/

I still have an old copy of "The C++ Programming Language" on my shelf - unfortunately collecting dust...

Thanks for the link! I really look forward to hearing what his thoughts are on modern programming!

The core semantics of the two are kept in close correspondence as new versions of the standards come out. There are a few points where C and C++ disagree on things that they have in common, but C programs will almost always compile as C++.
I would definitely like to learn more C++, when time allows, but as things are right now, I guess you can say, I use C++ as the easier C, regardless of how different they are underneath.

Someone joked by saying, it's like using JavaScript as the easier Java... Well... I get the idea, but C can compile with C++ programs, making it much more of a subset of C++, which I can re-use. That makes it a "no cost" tool to fall back on, when C++ is not available/possible.

They are very compatible tools! :)