Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

WolfSpring

Learning C++ Slowly

This topic is 5226 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I finished my first C++ CBT course and got a 90%. It was a intro and my next step is OOP as far as the CBT is concerned. I am also reading one of the Ebooks I have for it. I also bought a hard copy of C++ in ten minutes, sams teach yourself type. It''s mainly for referencing and reading when I don''t feel like being on the computer. Right now I know very little about C++ I''ve been at it for a week and can write a simple program, maily cout/cin and math functions. Am I going to slowly, right on track or doing well? I''ve got a 9-whenever job, usually 6, I''m in the army. Will it all come this slow? If so, how much do I need to learn after C++ to be able to write my first simple game, such as pong or breakout. Is there something else I should be reading along with C++. I read the For Beginners section, found it informative, but I need to be looking ahead, I have read the first 3 chapters of pythong but put it on hold once i found the CBT courses for C++ that the army offers for free.(NO at this current time I cannot seem to download them to give them out) Also alot of the CBT''s are C, not C++ should I learn these to? I can learn about 4 chapters worth in one night quite easily with these courses, wehre a book I''m lucky if I understand two. Any advice, info, etc.. Is greatly appreciated. Thank you.

Share this post


Link to post
Share on other sites
Advertisement
Sounds like you are trucking along fine...I honestly don''t know about giving advice, per se...but I''ll shoot some thoughts at you...
My suggestion for a beginner is nab up a copy of Visual Studio and start playing around in there. Grab a C# book, or a VB.NET...they hide a heck of a lot of the programming aspects which a non-compsci guy doesn''t have the background to handle, and allow you to start truly viewing your code in an object perspective. This leads to not just object oriented code, but the ability to churn out a fully encapsulated architecture...this can be done in C or whatever even, its a matter of how you approach the way one part speaks with another.
A language is just a language...I''ve picked up more languages because some boss or other decided such and such HAD to be in perl or VB or C++ or whatever than any other way...as long as you understand programming, and understand splitting up your program properly, they are all just a matter of an hour looking at some reference book and then every now and then referring back to page whatever. Learn how to PROGRAM, not just how to WRITE CODE. You can learn this in an easier language like C# or even VB, and then C++ is just a matter of reading up on how memory works in a computer.
Though honestly, if you want to program games as a beginner...take all the free courses you can in any language...but I''d shoot for C#...it is fast enough, and it is likely to become a standard eventually anyway...I personally use C++ because I like it and I feel at home, but C# is just plain easier...and it teaches you how to structure code.

Share this post


Link to post
Share on other sites
on track, keep at it. I''m sure, with the right work ethic, you will achieve whatever you need. Keep banging at the examples in those C++ books, and start doing thanks like making small "tool" programs for yourself. For instance, so you have a list of email addresses, each address is on a single line, but you want a comma delimited list so that you can copy and paste it into your email message and send an email to everyone in your list. Little programs like that go a long way to helping your understanding of programming.

Check out topcoder. It''s a programming competition type thing, but competing isn''t necessary (hell, most of the time I get the emial that a new competition is being held and I totally forget by the time it comes around). They have an excellent problem set, and a wonderful submission system. This way, you''ll get a chance to see if your solutions are RIGHT.



capn_midnight | Captain Midnight | deviantArt
ACM | SIGGRAPH | Generation5

Share this post


Link to post
Share on other sites
I agree with direct''s comments. I spent a couple months learning c++ and wasnt bad with it but after taking a course on java my programming got so much better. take your time learning the syntax of c++ while learning to program with something like c#

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!