59 AnswersNew Answer
Yes, it's not a pure OO language like C# (which is arguably a better language for some games). C++ supports both procedural and Object oriented paradigms, was one of the first major languages to introduce OO concepts and has fast performance. The down side is that the programmer has to keep track of memory management unlike in newer languages like Java and C#, but that maybe a topic for another discussion.
Odnantiev right, and these objects don't always have to move. They could glow, scream, etc. and exhibit different kinds of behaviour. They could be abstract entities too, that are not always visible or tangible. This stuff could be implemented in C too but it's easier to manage using OO languages.
I would say C++ is better than C for more complex games as OO can be used to better model the objects used in the game. But as Ярослав Вернигора(Yaroslav Vernigora) said, C# is another option.
Odnantiev sorry. By OO, I meant object orientation. This means that you can use classes to model the attributes and behaviour of 'objects' within the game.
You are interest only gaming or something else?
Hi! For game development is better C++ or C# (is used in game engines)
You need more tips?
Yes I think because C++ is like the pro language of C
Cpp Have many of minuses, but pluses too. 1. If you game is platformer, Cpp better. Graphics.h not in C 2. If you game is simple, like that; String a = Console.ReadLine() So, cpp better. ------BUT------ C cool in simple games too. ------ENDBUT------ 3. If your game is VERY hard, using by you heart. So C get Very good CLEAR programming. But cp p is graphics, lines, and very small clear programming -------- C -------- Finnaly, output; 56,8% ONLY GAMES IN PROGRAMMING(CLEAR PROGRAMMING) 43,2% GRAPHICS -------- C++(Cpp) -------- 50% GRAPHICS 30% CLASSES 13,4% CLEAR PROGRAMMING 6,2% STRUCTS 0,3% GET(GETTERS) AND SET(SETTERS) F I N N A L Y --------------MY----SOLVE---------------- I think you must trying write a game on Cpp, and trying write on C Whats you like, on thats write. #HOPEIHELP
Yes C++ is better then C. But the real question is do you need C++ for the games you want to create?
C++ is best
Hello! Thank you, and yes it would be very cool to get all the tips i can since im just starting to get into programming xd
Sonic oh ok thank you, also what do you mean by OO?
Sonic its alright, so basically the things that you control when ur playing the game and the stuff that moves for itself?
Sonic oh wow ok loool, thanks a lot
Sonic so that means that C++ is an OO language?
Sonic Oh ok ok i kinda understand lol thanks :))