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 #922
Difficulty: Easy
Unix time can be extended backwards from the epoch using negative numbers.
True or False?

Featured Tech Videos