View Full Version : Anyone use C?
Does anyone still use C? Should I move up to C++?
minoukat
10-02-01, 06:39 PM
My dad uses C. He created some Math and Verbs programs with it, but said that C++ is harder, but the result would be a lot better
Thelemac
10-04-01, 04:58 AM
C is the defacto language in Linux environments. Everything is written in it.
Ridenow
10-04-01, 01:54 PM
C++ was made when a guy named Bjorn Strousen (sp?) wrote a bunch of packages to use common features in C. Instead of reinventing something every time you want to do it, you just call on one of the packages. There is nothing in C++ that you can not do in C. What I was learning in college was to make packages, also called objects. In some ways making your own packages is better because you can costomize to make the code more effecient and you can see what it is doing instead of having it hidden in a object.
Ridenow
10-04-01, 02:00 PM
Originally posted by Thelemac
C is the defacto language in Linux environments. Everything is written in it.
C was written by some guys at At&t Bell Labs for the sole purpose to write an OS. That OS is Unix. Linux, of course, is based on Unix and is also written in C.
Yes, there was an A and B and an OS called Multix, but there were problems and those were never relesed. Third time was a charm.
If I goofed any of that, feel free to correct me. I can not believe I remembered that much.
fireball****aka fireball_87
10-04-01, 09:11 PM
my dad was a c programer :) id say c++ is the futue though.
Originally posted by Thelemac
C is the defacto language in Linux environments. Everything is written in it.
Thats why I want to use it ;-)
Kryogenitor
10-10-01, 11:28 PM
God only knows, Java is a big hit in colleges at the moment. Almost all intro to computer science classes are taught in java except for stanford who still does C. However theres a new push for C# in the industry which is supposed to be a java/c++ variant. Funny how java IS a c++ variant. Im a big fan of java though, its a little more wordy in the actual syntax but its much more clear in understanding than c,c++. Just take cout versus System.out.print as an example. Most could figure out what the java one meant but less could derive the meaning of cout. Also, java is much more visually pleasing with swing.
<This has been a programming plug for java>
Cheers.
I have never written in a programing language I detest more than java, can't really explain it though.
As for "does anyone use C" yeah... I used to work for Peavey (the guys that make musical equipment such as electric guitars, amplifiers, keyboards, ...) and they used C for programming anything that needed any code embedded in it, either that or Assembly depending how optimized they needed it. Since it uses less space they can fit it into smaller devices so it doesn't cost as much to produce it.
I used to know a bit of Java, just the basics like, and I know that it is easier to use, but is perhaps not as flexible eg:
System.out.println IS a lot easier than cout, but printf isn't so cryptic. Also, even though strings are different (class String in Java and and array of type 'char' (characters) in C) I prefer Cs method, as you can do a lot more eg. edit/display single characters etc.
malbolgia
10-18-01, 11:24 PM
if your are going to do OO progaming move to c++ else there is no diference
Is OO better than procedural?
malbolgia
10-20-01, 08:12 PM
depends on taste
OO is the future
Originally posted by malbolgia
depends on taste
OO is the future
Java is OO I think, whats the difference (is it all the class, extends and inheritence stuff?)
dcarrera
10-26-01, 01:06 AM
OO is not necessarily "the way of the future". It is very useful for many tasks, in particular for large projects. However, it's a mistake to think that it's "the be all and the end all".
I personally prefer C.
Part of the purpose behind Java was to make a simplified version of C++. Java is "machine independent", it's slower than C or C++ but for most things that it's used it is fast enough.
If you are interested in contributing to a Linux project then your choice of project might determine the language:
GNOME is written in C.
KDE is written in C++.
Neither forces you to use their respective language, but in each case it's better if you do.
If you have never programmed before you should start with a simpler language. Perl and Python are both very powerful and much easier than C or C++. I like Perl better but I like Python too. Perl is great for text processing, Python is OO.
I have programmed in BASIC when I was 11, Comal at 13, Java at 14 and now C and 15. C++ after january?
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.