Originally posted by: siyan
Originally posted by: Dopefiend
Originally posted by: mitch2891
C for example would be useless for net based stuff for that you would want java or something similar
Um...
C works fine for "net based stuff".
Yeah...just look at what GTK+ can do...
Originally posted by: stickybytes
right now im learning c++ in school. real simple stuff like loops, if statements and iostream components. some commands that i already know hot use well are do while, for, do until loops, if and else if statements. does game programming require any knowlege in the things i listed above?
Originally posted by: jzietman
what's the difference between c and c++? whatever happened to c+?
Originally posted by: Jassi
Originally posted by: jzietman
what's the difference between c and c++? whatever happened to c+?
I don't know if anyone posted this yet, too lazy to check. The reason it is called c++ is because in c, when you increment you can type variablename++; (ex. c++ is the same as c = c + 1), so as an inside joke, the creater of c++ used this to name the new language and thats why there is no c+ 🙂
Originally posted by: Jassi
Originally posted by: jzietman
what's the difference between c and c++? whatever happened to c+?
I don't know if anyone posted this yet, too lazy to check. The reason it is called c++ is because in c, when you increment you can type variablename++; (ex. c++ is the same as c = c + 1), so as an inside joke, the creater of c++ used this to name the new language and thats why there is no c+ 🙂
Originally posted by: Extrarius
Just for those that mentioned it: The only thing assembly is used for these days is MMX/SSE/etc, because processors these days are REALLY complex and you'd have to study a long, long, LONG time to be able to write better 'normal' assembly than a modern compiler.
Originally posted by: Jeffyboy
Which language to use to use is the least of your worries. The mathemetics involved or opengl/directx knowledge and game theory is more difficult. You may want to start simple with what language you know well first of all... doesn't matter what the language is.. delphi, C++Builder, MSC++ or whatever... and start from there.
Originally posted by: MartinCracauer
The thought that C# is competition for C++, performance-wise, is entertaining, but C# clearly plays in the Java class.
Originally posted by: hoppa
Originally posted by: MartinCracauer
The thought that C# is competition for C++, performance-wise, is entertaining, but C# clearly plays in the Java class.
score:
java: 28.40
c++: 27.63 (vc++)
c#: 27.33
http://dada.perl.it/shootout/craps.html
struct foo {
int a;
char b[12];
double c;
}
void bar(void)
{
struct foo myfoos[20];
// code
}
Originally posted by: complacent
Originally posted by: Jassi
Originally posted by: jzietman
what's the difference between c and c++? whatever happened to c+?
I don't know if anyone posted this yet, too lazy to check. The reason it is called c++ is because in c, when you increment you can type variablename++; (ex. c++ is the same as c = c + 1), so as an inside joke, the creater of c++ used this to name the new language and thats why there is no c+ 🙂
The funnier part about this is that C++ is post-increment. Why would you want to use C before it is upgraded/incremented? To be truly correct with C++ syntax, the language should have been ++C. People that do not care much for the language because of it's somewhat unwieldy syntax always give us a hard time about the syntactical error in the name of the language itself.
I am a little shocked that no one has mentioned OpenGL or DirectX. Most games today use an engine written in either of these two API's. A game company comes out with an engine, and then they usually lease the engine to other companies. For example, many of the FPS war games on the market use the Quake 3 engine developed by id. Pretty soon, you will see other games made with the Doom 3 engine and the Source engine (Half-Life 2.) Actually, Vampire: Bloodlines leased the Source engine from Valve for their game to the tune of $1 million.
You want to write a game? Learn C/C++ like the back of your hand, take some advanced linear algebra, and then learn OpenGL.