Magcialking said:
I heard that nearly 95% programs in the GNU world are written with C,
and except in the game industry, C is much more widely used, is that
true?
C is much older, and is responsible for the majority of the programming
infrastructure we use. Items like Unix, grep, Apache, Perl, and Berkeley
Sockets were all written in C.
That's not because C is better; just because it's older. And C++ cannot yet
compete for some platforms that only have C compilers. The most useful
system things must port to such platforms, hence they must use C.
Modern development, for most platforms, that requires relatively high
performance and portability will use C++. So your cell phone might run C++,
and your videogame most likely will.
Curiously, many videogames use libraries like Renderware that are themselves
written in C. This disadvantages some students, who learn its style, and
then use that style inappropriately in their C++ code.
The question arises to what purpose you will put these answers. If you seek
which language to learn, learn a soft easy one like Ruby first, and then
learn C++. Only learn C as you need it.
If you want to pick a language to start a project, you should pick a soft
one like Python, Ruby, or Smalltalk. Use soft languages to program faster,
and only convert modules to C++ as you need.
Most videogames also use a soft layer, typically Lua, to program their
high-level logic without worrying about the nuts-and-bolts that raw C++
requires.