• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Vote for the theme of Hive's HD Modeling Contest #7! Click here to vote! - Please only vote if you plan on participating❗️

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