Sunday, August 2, 2009

Where should i learn c++?

i want to learn c++ and a few of my friends do too


we want to focus on game programming


where do we start?

Where should i learn c++?
You can start reading Thinking in C++ (the eBook version is free in the author's official site): http://www.mindview.net/Books/DownloadSi...





Also I recommend "For Beginners": http://www.gamedev.net/reference/start_h...





Use the biggest and best online game developer community: http://www.gamedev.net/community/forums/
Reply:http://www.cplusplus.com/doc/tutorial/





This site worked for me. (^_^) Have fun.





Also Bioware Neverwinter Nights lets you program your own campaigns using a C++. It'll help you understand the how to use the language in video game context.
Reply:Well, first you need a C++ compiler. Personally, I recommend Micrsoft's. It's pricey, like everything else from MS, but unlike most of the rest, it's actually good. Most other C++ compilers don't do a very good job of showing you where problems in your code are.





If you have the option, I'd recommend taking a beginner's C++ course from a local college, particularly if you don't already know another programming language. Not only will you have an instructor to answer questions for you when the early programs don't work, but you'll likely be able to get a huge discount from the campus bookstore on that C++ compiler, enough to make the cost of the class not so bad. If classes aren't an option, I recommend books written by Deitel %26amp;Deitel. They are fairly frequently used for beginner and intermediate programming courses, and they do a good job of explaining why you should do things the way they present them.





Unfortunately, as I learned after getting my Bachelor's in Computer Science, what you learn in these courses in most universities doesn't really have anything to do with real-time input, which is necessary for any game, even if the game mechanics are turn-based. Still, you will absolutely need the stuff in these in order to understand the more complicated programming techniques use in game programming.





When it comes to learning to code games, there's really only one logical way to go: DirectX. Firstly, you integrate it into the complier you already have, so you aren't forced to work with new tools. Secondly, it is the platform for PC game design and very similar to XBox 360 code, so whatever you make could potentially be handed out to friends or sold to get the word out about you. Finally, the SDK (Standard Developer's Kit) for DirectX is available for free from Microsoft's website.





For books to learn how to actually use DirectX, I found a great one a few years back that was put out by Prima (and later re-released by Premier Press) called something like "The Zen of DirectX Game Programming." The author knows his stuff and does a pretty good job of explaining the code in the book, most of which is written so any game could use it.





DirectX is a beast, requiring over 100 lines of code just to give you a blank screen, so be prepared.


I want to learn C..?

I want to learn C..I'm a student but the book they gave us is total crap..Can anyone give me a link where I can download a guide..I'd also like to solve exercises if possible..Thanks..

I want to learn C..?
Try www.dwite.ca





It's a programming competition website containing recent and past programming problems. You should learn file IO too.
Reply:C is a great language BUT you have to understand the concept of pointers. This is not easy to do on your own, specially if you do not have a degree in computer science, electrical engineering, or knowledge of how memories work in the hardware.





The best book for this is called "Mastering the C pointer." Unfortunately, it is out of print.





Kernighan and Ritchie's book is considered to be the defacto standard; however, it's dry reading





If you want to know C and write it correctly, take the classes. You can really do some damage if you don't know what you are doing with the pointers. If someone tells you that you don't need pointers, then you will greatly diminish the power of the C language.
Reply:Kernighan and Ritchie's "The C Programming Language" is a terrible book to learn the C language from. And most of the power of that language now is in whatever function library you buy to use with the language.





You didn't mention what book you are using, but you really ought to be learning C++ instead of C. C++ is the object oriented version of C.





There are tons of books on C out there and any large bookstore will have several to select from. They all have their pluses and minuses. Also check Amazon.com.





If you have an opportunity learn C by taking a course at your local community college.
Reply:When I was a student, I liked the Schaum outline series for many engineering subjects. Concise, neat, and tons of problems worked out, and exercise problems too. Try to get hold of the Schaum series for C programming.
Reply:can u try it





http://grok2.tripod.com/c.html
Reply:I program quite a bit in C and the only reference I ever use or ever have used is the one written by the inventors of the language: Kernighan and Ritchie's "The C Programming Language"

apple

How can i learn c programming language fast ?

i'll try to learn c programming language at home. as i have computer ,internet at home as well as library facility next door. is there part time course available in edinburgh,scotland?

How can i learn c programming language fast ?
If you want to create any kind of software, you first have to learn programming in general.





Your first step should be to get a good book that teaches you the fundamentals. A good book to start is:





http://www.ibiblio.org/obp/thinkCS/





(I strongly recommend the python version here)





This book is so well because it does not waste time teaching you a specific language or libraries but concentrates you on how to program.





Then you need to learn object oriented programming. A good book that does this is this book about Java:





"Thinking in Java"


http://mindview.net/Books/TIJ4





and you need to know about low level programming. Here, I recommend this book:





"The C Programming Language"


http://www.amazon.com/exec/obidos/tg/det...





And then, to become a really good hacker, you will have to read this one:





"Structure and Interpretation of Computer Programs"


http://www.amazon.com/Structure-Interpre...





there is a free online version here:





http://mitpress.mit.edu/sicp/





IMPORTANT: Beside all the reading, you have to constanly read other programs and write your own code. These three things are pretty much equally important to make fast progress: reading books, writing code and understanding other peoples code.





As an somewhat alternative route, Peter Norvig, one of the greatest thinkers of our time, has set up a document a while ago that teaches a good way to become a good programmer:





"How to become a programmer in 10 years"


http://www.norvig.com/21-days.html





I'm not sure if this is a fast way to become a good C programmer, but it is the fastest way I can think of.
Reply:For the syntax and some concept you need no more than a couple of hours... Search on the net for some C tutorials.. If you also want to be good at it... it will take several years of practice, so start writting some code asap :D...
Reply:My advice: I am a software engineer designing video games at this point; The coding language "C" is rather old and rarely used much any more. You should look into OOP, object-oriented programming. The language to study is C++ (C plus plus) then C# (C sharp). Follow this link and closely read all the contents for C++. It is very good. After you read this and try to understand it, search Google for more C++ info.


http://www.oopweb.com/CPP/Documents/Thin...
Reply:http://cm.bell-labs.com/cm/cs/cbook/ is probably the best textbook on C. do not listen to people who say that C is bad and OO is the answer. any programming language is simply a tool. you always need to match the right tool for a given job.
Reply:lmao....


you can't.
Reply:Search the internet for C Programming for Beginners. I included a link below, but you can find lots more on your own.
Reply:Learn original C? Just google in "c tutorial"
Reply:better u start urself first from the most basic books written specially for "C",it's Let us C by yashwant Kanikar,and Ansi C by Balagruswamy,Both are Asian books and you can get these books easily,moreover you can get Denis Ritchie's book online for C,he is father of c,moreover the puzzle books for c can help u to get practical knowledge of c,in one of ur answers to ur Q?,some said it is an obsolete language,but to the knowledge of my extent it is the best and open so u must go for it and learn it the best possible
Reply:no
Reply:I suggest you to check out the following links:





http://www.c4swimmers.net


http://www.c4swimmers.esmartguy.com


http://directory.google.com/Top/Computer...





and more....


Where can i find sites of learning how to fly R/C helicopters?

Here's a great site (with links) to get you started.

Where can i find sites of learning how to fly R/C helicopters?
They have a tutorial here...


http://www.helifever.com/


You have to sign-up to see it.


Where can you learn C++?

Need To learn C++ fast! Because I need it fast..


If you know anything please let me know.

Where can you learn C++?
Here a good place to start learning C++ fast with Video tutorials:





http://xoax.net/comp/cpp/console/index.p...
Reply:If you haven't learned any other Object Oriented programming languages, it will take you months to learn C++ at even a very basic level.





If you are interested though, checking out Amazon for a good C++ book and looking online for video tutorials would be a good place to start.


Friday, July 31, 2009

How easy is it to learn C++ or Java?

how easy is it to learn C++ or Java and where can i learn it for free?

How easy is it to learn C++ or Java?
I agree with the first poster that it depends on you, if you're familiar with other programming languages, especially other object oriented languages, it shouldn't be that difficult. If this is your first time programming it will probably be difficult, I recommend finding someone who knows the language that can give you advice and critique your code. However, the original poster is mistaken by saying w3chools.com is a good resource, they are focused on web programming and don't have a Java or C++ tutorial as far as I can see. Try Sun's official tutorials for java available here http://java.sun.com/docs/books/tutorial/ and here's a tutorial for C++ http://www.cplusplus.com/doc/tutorial/
Reply:Well no one can tell you for sure how easy it is because it all depends on you. There are lots of sites you can go to, I would recommend w3schools.com





If you are determined enough, you will be able learn it.

augustifolia

What is the BEST site to learn C++ with NO prior experience in programming?

I am very new to the whole programming game. I bought a book not to long ago called "C++ Without Fear", but I am having a hard time reading what this guy writes half the time.





I have also been to "Teach Yourself C++ in 21 Days" but again, this website assumes too much knowledge in programming in my opinion.





Is there a *FREE* website that offers a tutorial to fluently (or at least close to that) learn c++?

What is the BEST site to learn C++ with NO prior experience in programming?
http://www.cplusplus.com/ and http://cprogramming.com/ are probably your two best sites to get standard tutorials. You'll also want to keep track of http://www.parashift.com/c++-faq-lite/ and c-faq.com (it's offline at the moment, but you can get mirrors at anytime by googling for C FAQ).





Other sites are usually suspect (this includes the 21 days site). Most resources on C++ are either incorrect in various ways or are obsolete. Cboard.cprogramming.com, as well as the Devshed C++ Forum and Daniweb C++ forums have some very knowledgeable professionals to help out, and you should rely on them to correct mistakes initially. Their help can make a significant difference in how easily and painlessly you learn.





With C++ however, the real way to learn it is to get books. You can get an idea of how it works through online tutorials, and you probably will want to start out with online tutorials, but if you are serious about learning it, you absolutely must get a number of recognized and important books for C++. There's a lot, and I mean a lot, of old, incorrect, or otherwise terrible C++ books. Most of them aimed at beginners. The two books I recommend, and the books/authors are recognized in the C++ world, are C++ Primer (4th edition) by Lippman and Accelerated C++ by Koenig. Other recognized books are too advanced. You may find both books to be just a bit too fast paced, and assuming too much though (they really don't, but you might find it so). Apparently You can do it! (http://www.amazon.com/You-Can-Beginners-... ) is also a good book. I haven't seen it myself, but the author is definitely a recognized expert, and you can actually get his help sometimes on comp.lang.c++ and similar usenet groups. Might be worth getting his book.
Reply:www.codeproject.com


wud be best for ya
Reply:Right off the bat I can tell you need to drop the idea that your going to be a master of programming in C++ in under a month. A programming language takes time to learn the concepts and then properly creating a program that works. One of the hardest parts of programming for beginners comes at compile time. The frustration of errors can be too much for some. I'm sure you've experienced some of that already.





As I was saying, Its going to take you just under a year to get the basics down without referencing a manual. If it is something that you do leisurely then it will take longer. The only way you get better is to do more. Even the silly assignments in the back of chapters in books can help you learn more.





Some books are better than others in some respect. Some people like myself consider some books pathetic in the lack of real world examples. I've seen countless books use "Dog" and "Cat" classes, part of programming, in them.





You should have a few books, not beginner only, to be used to learn from and use as references. A few suggestions are:


Starting Out with C++: From Control Structures through Objects


http://www.amazon.com/Starting-Out-C%2B%...


and


C++ Primer Plus (5th Edition) (Primer Plus (Sams))


http://www.amazon.com/C%2B%2B-Primer-Plu...





Now, to answer your question. There isn't going to be a superior webpage to learn C++ for free. Some will be better than others, but none of them will teach you everything there is to know and get a job in programming. You might find some online college that gives more in depth training through some sort of online "pay for tuition" type class, but it is not free.





The "Best" website that I can think of to learn from for most web languages all in one place is: W3Schools http://www.w3schools.com/ , but no C++ here.





Another site to learn the very basics is @ About.com http://www.about.com/compute/ just scroll down to the programming languages section.





As for a good IDE to help you catch errors and compile your program I suggest Eclipse found @ http://www.eclipse.org/ make sure you have Java installed on your computer to run it.
Reply:Visual C is a good way to start if you are a beginner. There are many tutorials and stuff for that and it is targeted at people with no prior experience. It would be a good foundation before starting C++.
Reply:No C/C++ are too ancient for someone to have done that, you may try the '... for Dummies' series their introductory books are kinda good, while I consider myself too experienced to make use of those books they are unrivaled as to write it in a way that, well, a dummy can understand.





Skimp the entire book in store before you buy, although C++ goes hand in hand with its predecessor C, start with that.
Reply:i would suggest you try dummies for C++ it is really helpful for people starting or who have no pior knowledge to C++ programming
Reply:if u find any best site to learn C++ or any other language programme, u may get information from there, but in my openion the best way to get more and more knowledge for C++ is the virtual teacher.