Question:
Help on C Programming?
2009-08-24 20:16:41 UTC
I want to know what is C programming? What is the difference between C programming and C++ Programming? Do video game designers need to know c++ Programming? If possible which website will help me learn c programming (in good detail)? Which book can help me learn c programming (in good detail)? I'm a beginner and I want to know how to program games. Is there another program that can help me program games.
Four answers:
?
2009-08-24 21:56:04 UTC
I am not going to say is very simple nor difficult, it's somewhere in between. And once you get the basics you will find it very interesting.



Here is a book I found it really good to learning C language:



C The Complete Reference, 4th Edition

By: Herbert Schildt

http://www.4shared.com/file/127504205/e85daba5/C_The_Complete_Reference_4th_Edition.html



* I would recommend any book by this author *
Mark aka jack573
2009-08-28 06:11:22 UTC
The other answerers are correct with regard to the C programming language. They seem to be mistaken about C++ though.



First up, C++ was originally called C with Classes. Classes is so you can code in Object Oriented ways. But, C++ does not make you code in Object Oriented. Most of C has been kept, so you can program however you want in C++. When I say this, they are two other types of programming. Functional and procedural. These two are an olders tyle of programming.



In C++ you can program in the three different types and your programs can have all three different types at the same time.



Trying not to confuse you, there is a language called Java. Now Java is Object Oriented. You have to program in Object Oriented for Java. You are ont limited to programming in Object Oriented in C++, but you can if you want.



Secondly, C++ is the most widely used language for programming games. SO if you want to program games, you need to know C++.



I would find a good book for programming in C++. There is a book called "Beginning C++ Through Game Programming Second Edition". The ISBN for this book is 978-1-59863-360-3

You can use the ISBN to order the book through a book shop.

http://www.cengage.com/cengage/student.do?codeid=Z530&sortby=copy&type=all_radio&courseid=CDD10&product_isbn=9781598633603&disciplinenumber=215&codeFlag=true



How difficult is it to learn?

That all depends on you as a person. Some people can do it quickly and eaily, and others can find it hard and difficult. This is the same with all things. People are more suited to learning different things.



But if you really want to learn, you will learn. It make take longer than you think, but if you are committed, you should be able to learn it.



Good luck, and happy programming.
Ben
2009-08-24 20:24:40 UTC
C was a language designed in the 1960s for the Unix operating system. It is considered the "universal assembler". It's basically the lowest level of code that you can pick up and use across more than one platform. Years later, new techniques like Object Oriented programming were developed but developers didn't want to leave their legacy C programs behind. So, C++ was born. C++ is a superset of C, meaning it's C plus a whole big mess of stuff thrown on. This means that C++ basically is just a whole bunch of not-quite related things done at once. It's huge and confusing and hard to learn. It does have some neat features, but it's really easy to mess things up if you're not careful. Because C++ is just a bigger version of C, I would learn C first and then expand to the C++ stuff. You might also want to learn a higher level language like Python. It has bindings for OpenGL such as PyGame that let you do the game programming but the language takes care of a lot of the low-level stuff like memory management for you. C and C++ are more popular for professional developers but Python is much easier to learn for beginners and for hobbyists.
Fudge
2009-08-24 21:05:20 UTC
C is powerful programming language that can be used for any programming purpose and mostly used for writing operating systems, system utilities , and games , because it's fast ....



C++ is C plus object oriented programming



For C , see

http://www.cprogramming.com/tutorial.html



Books : many , like :

'C for Dummies'

'C How to Program'


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