I can't make up my mind...

Started by
11 comments, last by Emil 24 years, 3 months ago
It all depends on how good you want to be.

If all you want is to write a few cool, mildy ambitious programs, then you might be best off just plunging into C++, perhaps after a primer lesson in C. This will allow you to focus on what you want to do, as opposed to forcing you to worry about tying up all the loose ends.

If you are really serious about learning how to program, then it becomes a question of how much you are willing to spend. You will probably have to part with a few dollars for books and/or courses, but most importantly you will have to invest time. If you want to master the Object Oriented paradigm, a cleaner, quicker route (believe it or not) would be to learn Java. Java is an elegant, structured language built on the OO paradigm. True, it is under-powered and not well suited for any real-life application, but it will teach you good OO programming habits. Then move to C++, a language whose power and flexibility provide you will industrial strength abilities and, unfortunately, the means to violate the OO paradigm in every way possible (C++ is so general that it allows you to program in an OO style, but doesn't force it).

The best book to learn C is "The C Programming Language" by Kernighan and Ritchie. For Java, consult the book(s) by Gosling. For C++, avoid using the book by Stroustrup in conjunction will Visual C++. It can be argued that they represent two different languages (the book covers the ANSI/ISO C++ Standard).

Advertisement
One thing you will realize about C++. Everyone has their own version of it. Borland''s got one, Microsoft has one, Unix has one, and there is a standard one. All of them follow the same principles of OO but they all implement those principles differently through their own C++ API library. All you have to do is look at the string class for each of them to realize this. Later you will realize that Borland and Microsoft are really just APIs to help you program in C++. This is a main distinction that you need to understand when beginning to program. Win32, OWL and MFC are no different in construction than the point, line, and square classes your C++ books discuss. Most of the same techniques have been used and violated within these libraries. That being said stick with C++. Learn to think in terms of objects, and be prepared to rewrite code often as you get better at using the OO techniques available to you.

Not much else I can say here wihtout getting flamed. :)

Kressilac
ps Study the CString class. Recognizing its strengths and shortcomings will help you understand more about C++ than any book will though you need the books to gain the knowledge to enable you to analyze the CString class.

Derek Licciardi
Derek Licciardi (Kressilac)Elysian Productions Inc.
I say, stick with C++ all the way. C++ is so awesome you can do so much stuff on it. Visual Basic can be good, but I think that C++ is a much better language for programming games. With C++ the posibilites are endless(I think).

C++ Freak




C++ Rocks
Visit http://members.xoom.com/ivanickgames

This topic is closed to new replies.

Advertisement