Visit Our UNIX and Linux User Community


C or C++?


 
Thread Tools Search this Thread
Top Forums Programming C or C++?
# 1  
Old 12-20-2001
Question C or C++?

Hello!
Which one (C or C++) should I learn for Unix System?, Which one is more useful for Unix System?

Thanks
John
# 2  
Old 12-20-2001
Well John, you can certainly create a lengthy "religious"
discussion about this one...

I prefer C and since early Unix was re-written in C and Unix
system calls are in C, one can say the C is the "native"
language.

However, C++ does have distinct advantages and if you
want to learn it, some recommend you do NOT start
with C (me included). I've been "guilty" of thinking in C
when writing C++ on many occasions (just because I "know"
a way to do "it" in C and C++ will run it).

Either way, you'll be learning a powerful programming
language that will allow you to create very useful,
industrial strength, systems. Smilie

Previous Thread | Next Thread
Test Your Knowledge in Computers #496
Difficulty: Easy
Many programming languages assign special meaning to keywords such as for, if, and while (for example) that are used to define various control structures.
True or False?

Featured Tech Videos