• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

C, c++?

Status
Not open for further replies.
Level 15
Joined
Sep 3, 2006
Messages
1,738
Well because in SC2 they're using a new scripting language called Galaxy, which according to Blizzard is a lot like C, I was wondering if C and C++ were all that different?

I don't know much about either of them, other than that C++ was first created as an extension of C and has since then evolved.

The reason I'm asking is because I'm taking Computer Programming this upcoming year and it deals with C++.

I want to know if I should bother learning C from scratch now or if C and C++ are similar enough to understand without learning much.
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
C++ is technically backwards compatible with C (Although it doesn't implement C99 features yet to my knowledge, and it has the obvious problem of c names being reserved keywords in C++), but extends C with templates, classes (Which are really just structs with pretty method syntax and privacy), and a whole bunch of other precompiler magic.
 
Status
Not open for further replies.
Top