Click to See Complete Forum and Search --> : What kind of source code I should read?
Henry220
November 6th, 2002, 05:42 AM
I have learn C++ for years but I have not do some big project. I want to make a improvement . I want to find some source code to read.
What kind of source code should I rean and where to download them?
thanks!
AlionSolutions
November 6th, 2002, 06:03 AM
Hi,
your question is hard to answer, because there is so much about software-development and C++ to read and to learn, that it is hard for me to tell you one good location to find everything.
The first advice I can give you is to look which compiler you are using. For example: If you use Borland C++ Builder, you should go to www.borland.com directly and look at the developer-comunity-sites. Nearly each compiler-product has it's own developer-comunity on the website of the company created the compiler.
You will find lots of sample-codes on this sites. Now it's your turn to decide what kind of programming you want to do. Do you want to do client-server-apps (like me), do you want to develop graphix-applications, games etc....
It is impossible to learn all about developing, without setting a focus on something you want to realize.
Ok, there is another I recommend: Go to www.programmersheaven.com. It is a treasure-chest of really good free sourcecode not only in C++. You can find allmost everything there, from cryptographics to game-development. But you must know what you ae searching for, or you probably get lost in all that information.
another advice is to go to google or another search-engine and type in something like that:
client server programming c++ tutorial sourcecode
There'll be a lot of crap you find by this, but if you are patient, you'll find exactly what you need. By the way, I found www.codeguru.com the same way ;o)
Ok, I hope I could help you a little bit. Feel free to send me an e-mail, if you have any questions.
Greetz
Juergen
kuphryn
November 6th, 2002, 05:23 PM
I recommend learning C++ over via books. Anything is possible via practice.
Kuphryn
AlionSolutions
November 7th, 2002, 07:21 AM
Hi again,
yesss books are a good way to learn, and my working-place looks like a little library :)
But, why buying books ? Everything is available from the net. Not everyone has the money to buy some good books just to start something. In general good books, like the ones from Addison Wesley are very expensive (at least here in Germoney :D). One can surf the internet for a long time instead of buying a book :)
Anyway, books are a good way too.
Best regards
Juergen
Gamut
November 7th, 2002, 12:49 PM
Books are good way to learn , but simultaneously makeup a mini project ( like creating our own text Editor, or a simple echo server) and start working on it. When you hit a road block, refer to books or post questions on codeguru/discussion boards. I think it keeps you motivated, when you see your program run.
Good Luck!
galathaea
November 7th, 2002, 01:41 PM
The internet is a great source of information, and I would check out many of the coding sites like codegure, codeproject, etc. Also, MIT's new OpenCourse is a great place to check out as they have a strong computer science program and are putting all of the lecture notes online (including many video feeds of lectures and exams). Its still in its infancy, but its bound to grow into a great place of information over the next few years. You should also check out c++ news groups/message boards, as they often attack problems in quite a lot of detail.
As to what you should study, ther are many topics in c++ that an intermediate to advanced user should be familiar with when they work on larger projects. These include (but are not limited to)
Smarter use of class hierarchies. These include idioms like smarter/brilliant/facet/etc. pointers and related topics like memory management and dynamic interfaces.
Advanced uses of templates. These range from more intermediate uses of STL for containment and generalized algorithms to more advanced design idioms like policy enforcement and typelist based functors and factories.
Finally, one should gain familiarity in the API and internals of the OS they want to work in, with a little general OS theory as well.
These ideas are the basis for the design and implementation of large professional projects, and should give you a start on what you need. Many of these ideas are found in books I know of (but I do not know of web sites :(). The authors I suggest to check out are Stroustrup (of course!), Scott Meyers, Herb Sutter, Jeff Alger, Andrei Alexandrescu, and James Coplien.
I hope I have given some help!
jfaust
November 7th, 2002, 03:06 PM
Herb Sutter's Guru of the Week, which his books are based on, can be found at http://www.gotw.ca/. The book form is more polished, but there's a lot of good information here.
Jeff
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.