Question:
What is the difference between the programming languages c, c# and c++ and which is best for creating games?
Zuhair
2013-07-20 10:10:19 UTC
I want to start programming games but do not know what to learn before I get to programming and developing. All I could find were these languages needed before programming. Which should I learn first and which will actually be useful.
Eight answers:
?
2013-07-20 10:53:33 UTC
c++ is what all major games use, don't bother with other like c, c++ is logically hard but long as you can solve puzzles it is not impossible, there are tons of books but when getting a book do alot of research on it, because everyone who can write and thinks knowing 1.2% of c++ automatically makes them a expert on the subject tend to write a book and those books are total ****, there are a few websites that help you, cplusplus.com, stackoverflow.com are 2
?
2013-07-20 17:25:32 UTC
To the above person, HTML has NOTHING to do with game programming. It's not a programming language, and won't help with grasping even the most basic of basics of game programming. I don't know about JavaScript, but I don't think it's widely used in game development.



That being said, the way to go when wanting to do SERIOUS game programming is C++. Most, if not all, of today's games are largely created in C++. C++ offers a huge variety of libraries and techniques which you can use for game development, and since most games are created using this language, support for it is through the roof.



If you want to learn C++, just start learning it. You could learn C first if you want, because it's pretty small, but it's still complex for a first-time-programmer, and learning C++ will teach you most of C anyway. This is basically just a personal choice. In the end, you'll get the necessary knowledge.



For game programming, C is not a good option, and although C# is bigger and more suited for it, it's also not generally used for professional games. It's not much harder to make games in C# like they are in C++ (except if you want to have those incredibly detailed games with beautiful graphics) but trust me, C++ is the way to go. Just start by looking up tutorials and you'll get going.



Have fun.
?
2013-07-21 04:35:49 UTC
C is like C++ but it is not object oriented. C# and C++ are very similar, just slightly different syntax. they are both object oriented. c++ and java are the most popular gaming languages, but java provides more functionality, and it works on several platforms, unlike c++.



IF YOU ARE LEARNING PROGRAMMING, learn the basics first before getting into any complicated stuff. learning the concepts and breaking it down really makes it simple. use the Basic language. It stands for Beginner's All-Purpose Symbolic Instruction Code. It is designed for beginners. Once you learn the concepts likes variables, arrays, methods, classes, etc etc you can move on to more complex languages more suited for your goals (c++ or java) The reason is once you know your concepts transferring them to another language is very simple. java and c++ have a very similar syntax but java offers much more functionality.
Mistarobotics
2013-07-20 17:15:00 UTC
If you're now learning anything about programming or coding you should learn the basics of HTML and then probably go into JavaScript.



Out of C, C+ and C++, C is the easiest/simplest, and C++ is the hardest/most advanced. If you want to do C, C+ or C++ start with C, then C+ and finally C++.
2013-07-20 20:48:35 UTC
coursea has a free non-credit course offered by the University of Cololado System



the course is named "Beginning Game Programming with C#"



https://www.coursera.org/course/gameprogramming



the first time this course is being offered is this September.



I think C# is difficult language if you've never programmed before.



coursea also has a free non-credit course in Python which is definitely a better choice for someone's who's never programmed before..



the course is named "An Introduction to Interactive Programming in Python"



Course Description:

This course is designed to be a fun introduction to the basics of programming in Python. Our main focus will be on building simple interactive games such as Pong, Blackjack and Asteroids.



https://www.coursera.org/course/interactivepython



The course won't be offered again until October 7th, but it's definitely worth doing -- I took the course back in April.

Python is relatively easy (much easier than C++ or Java of C#) and you learn a lot of interesting stuff



and here's a youtube video of someone's final asteroid project (not mine)



http://www.youtube.com/watch?v=bx03ZGntIZM



if you can't wait till October you can go here



http://www.blitzbasic.com/Products/_index_.php



an get this for free



scroll down and find "BlitzPlus ($59 USD - digital version) Free for a limited time!"



its a game development program that uses Basic



see some videos of games made with it



http://www.pixelprospector.com/tag/blitzmax-engine/



if you do download that and need some tutorials I recommend this guy

here's a youtube video with a VERY simple tutorial

http://youtu.be/cno-A6BWRtk?t=7m17s



here's a list of all that guy's youtube video tutorials, with links to source code in the description of each video



http://coffeeinduced.wordpress.com/tutorials/



now even though this is Basic, there is still a LOT of math and programming involved.



nothing is going to move unless you figure out the math and tell it where its supposed to go



so this would be a really good introduction to game programming;

even though professional games aren't written in Basic, the concepts, math and logic is the same



and here's the Blitz forums that you may find useful

http://www.blitzbasic.com/Community/_index_.php



and if you find all the math and stuff too difficult you may want to start with with something a little easier (non-game programming)

Introduction to Computer Science

https://www.udacity.com/course/cs101



where you'll learn the Python language and how search engines work (it's supposed to be one of the best Intro to Comp Science courses on the web)



this way you'll learn programming and Python and you should be finished with it just about the same time the coursea course is starting



or you could decide to do a 2nd udacity course

Programming Languages

https://www.udacity.com/course/cs262



where you learn to make a web browser (not web pages, but a web browser)



others may reply and tell you not to waste time with Basic or that real games aren't written in Python, but as seen in the videos you can still make fun interesting games with them



and more importantly you can use Python and Basic to learn the concepts

these concepts can easily be applied to the more professional languages
?
2013-07-20 17:49:32 UTC
Difference between C and C++

C and C++ are two different computer programming languages. C was originally developed by Dennis Ritchie at AT&T Bell Labs between 1969 and 1973. It has a free-format program source code. C++ is another general-purpose programming language, but is developed from the originally C programming language. It was developed by Bjarne Stroustrup at Bell Labs starting in 1979. C++ was originally named C with Classes. It was renamed C++ in 1983.



Difference between C++ and C#

C++ is a general-purpose programming language. It was developed from the original C programming language. C++ is a statically typed, free-form, multi-paradigm and a compiled programming language. The C++ programming language is widely considered to be an intermediate-level language, as it made up of both high-level and low-level language features. As compared to C, C++ incorporates object oriented features, such as classes, and other enhancements. C#, also known as C sharp, is an object oriented programming language. C# is a multi-paradigm programming language. It includes strong typing, imperative, declarative, functional, procedural, generic, object-oriented (class-based), and component-oriented programming disciplines. C# is based on the C programming language. It was originally developed by Anders Hejlsberg for Microsoft for use in its .NET framework.



Difference between C and C#

C and C# are two different computer programming languages. C was originally developed by Dennis Ritchie at AT&T Bell Labs between 1969 and 1973. It has a free-format program source code. C#, also known as C sharp, is an object oriented programming language. C# is a multi-paradigm programming language. C# is based on the C programming language. It was originally developed by Anders Hejlsberg for Microsoft for use in its .NET framework.
?
2013-07-20 17:27:07 UTC
My cousin makes games and he uses java and a tiny bit of C#.



(Oh, and a tip he uses Unity and he says once you know what to do its a good beginner program)
2013-07-20 20:06:47 UTC
You can use any one of them. But One language perfectly then rest of the things is easy.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...