CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2002
    Location
    Singapore
    Posts
    16

    What kind of source code I should read?

    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!
    DON¡¯T BE WEARY, SINCE IN DUE SEASON WE WILL REAP IF WE FAINT NOT!

  2. #2
    Join Date
    Aug 2002
    Location
    Hamburg / Germany
    Posts
    280

    Wink many source to read

    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

  3. #3
    Join Date
    Feb 2002
    Posts
    5,757
    I recommend learning C++ over via books. Anything is possible via practice.

    Kuphryn

  4. #4
    Join Date
    Aug 2002
    Location
    Hamburg / Germany
    Posts
    280

    books are good too

    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 ). One can surf the internet for a long time instead of buying a book

    Anyway, books are a good way too.

    Best regards

    Juergen

  5. #5
    Join Date
    Jun 2001
    Posts
    145
    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!

  6. #6
    Join Date
    Sep 2002
    Posts
    1,747

    books, the internet, and everything

    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!
    */*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/

    "It's hard to believe in something you don't understand." -- the sidhi X-files episode

    galathaea: prankster, fablist, magician, liar

  7. #7
    Join Date
    Mar 2002
    Location
    California
    Posts
    1,582
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured