Why C instead of C++?
being more simple c does actually compile faster in the real world 
from what examples ive seen its like 50/50.
C doesnt offer any advantages/disadvantages over C++ with opengl, ie it doesnt work better of worse if thats what u mean.
i would say more ppl know c than c++ (most ppl that know c++ can understand c, which perhaps aint true ''andersom'' the otherway around)
for a learning text its useful to write in the most understodd language
http://uk.geocities.com/sloppyturds/gotterdammerung.html

from what examples ive seen its like 50/50.
C doesnt offer any advantages/disadvantages over C++ with opengl, ie it doesnt work better of worse if thats what u mean.
i would say more ppl know c than c++ (most ppl that know c++ can understand c, which perhaps aint true ''andersom'' the otherway around)
for a learning text its useful to write in the most understodd language
http://uk.geocities.com/sloppyturds/gotterdammerung.html
quote:
Original post by Oluseyi
I think it is much cleaner and simpler too.
This is opinion.
It was meant to be

Some people say that C and C++ are sam speed.
It's not correctly true. They are not comparable, I think. What makes c faster is because it's simpler language results to simples and less binary code. Of course same binary executes at same speed but with c++ you use c++ lanquage specific features that lead into bigger code. But unless your project is really big I think there's not any speed difference noticeable.


[edited by - stefu on May 12, 2002 3:39:47 AM]
May 12, 2002 02:49 AM
c++ is slower just look at the resulting machine code.
Don''t think otherwise.
Don''t think otherwise.
To admin : Please close this thread to stop another C vs C++ flame war
You should never let your fears become the boundaries of your dreams.
You should never let your fears become the boundaries of your dreams.
You should never let your fears become the boundaries of your dreams.
I second that - close please!
Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions
Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions
the most used programming language in 1980s-1990s was probably C because C++ was released in 1980s, the Open Graphic Library was only released in 1992 (and was being developed a while before 1992)...
stop asking why C instead of C++? and why OGL instead of DX?, do a search on gamedev forums because it has already been asked more than a thousand times.
this thread should be closed.
"Shadow of annoyance Ne''''er come hither! ...And when He falleth, He falleth like Lucifer, Ne''''er to ascend again..."
TOT
stop asking why C instead of C++? and why OGL instead of DX?, do a search on gamedev forums because it has already been asked more than a thousand times.
this thread should be closed.
"Shadow of annoyance Ne''''er come hither! ...And when He falleth, He falleth like Lucifer, Ne''''er to ascend again..."
TOT
"Shadow of annoyance Ne''er come hither! ...And when He falleth, He falleth like Lucifer, Ne''er to ascend again..."
TOT
TOT
The Question is...why NOT C?
If you code in C, then every C programmer as well as C++ programmer will be able to understand.
If you code in C++, only C++ programmers will understand.
It''s pretty clear. And UNIX plays a big role too as stated above.
--SuperRoy
[My SourceForge Project, ''Snoballz'']
[Google!][Stick Soldiers][E-Mail Me!]
[End Transmission]
If you code in C, then every C programmer as well as C++ programmer will be able to understand.
If you code in C++, only C++ programmers will understand.
It''s pretty clear. And UNIX plays a big role too as stated above.
--SuperRoy
[My SourceForge Project, ''Snoballz'']
[Google!][Stick Soldiers][E-Mail Me!]
[End Transmission]
Sup guys?
there''s loads of C++ programmers who don''t understand a word of C. everybody should begin with C through IMO.
"Shadow of annoyance Ne''er come hither! ...And when He falleth, He falleth like Lucifer, Ne''er to ascend again..."
TOT
TOT
c and c++ are different things, wich can work together but they don''t need to. both are fast, both are easy, but one fits bether to a specific solution. platform independend stuff should be c, because a c-compiler is normally first on a platform.
close the thread, the question is answered yet.
"take a look around" - limp bizkit
www.google.com
close the thread, the question is answered yet.
"take a look around" - limp bizkit
www.google.com
If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia
My Page davepermen.net | My Music on Bandcamp and on Soundcloud
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement