With C++ and C# out now, why do people still bother to program in C? It's old and there are newer, better languages out now. C is also difficult to deal with on really large programs.
With C++ and C# out now, why do people still bother to program in C? It's old and there are newer, better languages out now. C is also difficult to deal with on really large programs.
Boy you stink, go take a shower before you continue to code. Better do your laundry and spray your chair too.
The one and only resource for finding information.
Next version of windows released!!!!
>C is also difficult to deal with on really large programs.
What about small programs?
Hmm
Because it can be fun, that's why I use it every now and then. Still, I prefer C++ and C# over it though.
To code is divine
Because there's still a LOT of software out there written in C, and I bet you if you have to work at a company that maintains old software, you'll be working a lot with C.
because some of us like to use the right tool for the job, and some people work on embedded systems... and it works fine for large programs... and its not C thats hard to deal with... its proper design.
i love C, its small and compact, minimalistic... lets you do what you want how you want. best language going.
ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.
Well.. if C's the best language.. why don't all people just use C++? If C code compiles on any C++ compiler..
what does signature stand for?
thats just like my opinion man...
>If C code compiles on any C++ compiler..
it doesnt... try compiling C99 on a C++ compiler...
ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.
> If C code compiles on any C++ compiler..
Except there's a lot of perfectly valid C which either doesn't compile at all on a C++ compiler, or compiles but gives different answers.
// valid C, doesn't compile in C++
int class;
// different answers
printf( "%lu\n", (unsigned long)sizeof('a') );
Here's a list
http://david.tribble.com/text/cdiffs.htm
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
umm.. right.. so why don't people just forget C and start programming all on C++? if it's much better and has the same features as C does?
what does signature stand for?
That's just an opinion though. I like C better than C++. That doesn't make C better than C++. Sometimes I like programming in python instead of C, but that doesn't make python any better. You can't really say any language is better than another. Like most people have already said, it depends on what you are trying to do that determines which tool is best for that situation.Originally Posted by Ruski
And C is not dead just because there are new languages that have names that start with the letter C. A lot of programs are still programmed in C. Look at Gnome and some (if not most) of its programs are written in C.
isnt c++ object oriented?
c clearly isn't... natively anyways.
Hmm
structs (I don't know what you mean by "natively")?Originally Posted by B0bDole
To code is divine
Personally, it has nothing to do with features, and everything to do with availability and choices. In my universe, C++ compilers are rare. Good, reliable C++ compilers are even more rare. I'm not even talking about tools either, just compilers. BTW, I don't write desktop or web applications, and my programs are less than 20 source files on average.Originally Posted by Ruski
I have a small, easily portable RTOS kernel written in C, and a wealth of code for common components that is all written in C. So, it might be better, but it isn't necessary for me to be productive.
Like I said, that's just me.
Wow, I don't even post here much any more and I can remember this topic being posted at least once a month years ago.
Honestly, what kind of responses did you expect to get here?
It's not that C is better or worse. You, as a programmer, should pick the right tool for the job. Do you hammer a nail with a screw driver? No. You could, but it wouldn't be fun.
Last edited by spoon_; 06-23-2005 at 05:11 PM.
{RTFM, KISS}
But think of the entertainment value for the onlookers!Do you hammer a nail with a screw driver? No. You could, but it wouldn't be fun.
The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.