Like Tree2Likes
  • 1 Post By whiteflags
  • 1 Post By whiteflags

Suggestion

This is a discussion on Suggestion within the C++ Programming forums, part of the General Programming Boards category; I am a new programmer, I have learned some basic things about C++ like class,class copycontrol,container types like vector,string.Things I ...

  1. #1
    Registered User
    Join Date
    Jan 2013
    Posts
    114

    Suggestion

    I am a new programmer, I have learned some basic things about C++ like class,class copycontrol,container types like vector,string.Things I havent learned is OOP,Overloaded operators,Template and generic programming..tuple,bitset etc.. Now I have come across a book Introduction to Algorithms [Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, Clifford Stein] which is a good book for algorithms. I need suggestion about should I continue to learning templates and OOP . Or should I start to read about algorithms. I am really confused right now..

  2. #2
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,657
    My $.02: I would learn OOP techniques and templates just because those have to do with designing programs and most programming is done with other people's code. Algorithms and data structures can wait for the most part because you can always find a working implementation to work with (like the stl). Knowing algorithms usually comes with a masters degree... it can be postponed, I think, but it is always good to know.

  3. #3
    Registered User
    Join Date
    Jan 2013
    Posts
    114
    That means, during program designing there is no need of algorithms?

  4. #4
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,657
    It means you don't need to know how to implement sorts and searches and things like that - it is still good to know the properties of many algorithms, because you will use them. But using someone else's code relieves you of some of your burden. You only have to know if it is a good idea to use option A instead of option B.

    And finally, if you disagree with me, go ahead and order your own priorities. It's no skin off my nose.

  5. #5
    Registered User
    Join Date
    May 2013
    Location
    United States
    Posts
    58
    Quote Originally Posted by whiteflags View Post
    My $.02: I would learn OOP techniques and templates just because those have to do with designing programs and most programming is done with other people's code. Algorithms and data structures can wait for the most part because you can always find a working implementation to work with (like the stl). Knowing algorithms usually comes with a masters degree... it can be postponed, I think, but it is always good to know.

    I am also ignorant in OOP. But what books are recommended for OOP programming?

    It turns out that there is so much downloadable code and libraries in the world that it is becoming important to use OOP techniques even for numerical programmers who primarily care about making a calculation and graphing the result, because many projects are becoming very elaborate. Especially recently there is a lot more free high quality code that can be downloaded.

  6. #6
    Time-Lord Victorious! The Doctor's Avatar
    Join Date
    Aug 2012
    Location
    Perth, Western Australia
    Posts
    50
    http://www.google.com.au/url?sa=t&rc...47008514,d.aGc

    This is a link to a free book written by a guy named Dr. Mike Robey from Curtin University in Western Australia. The book is called A Simple and Generic Introduction to Object Oriented Algorithm Design


    Please Note, that the book is intended for first year students, and first teaches them basic programming concepts. He goes into OO itself from chapter 6 onwards.

    Please note that it will start out very simple, but it will cover some basic ideas of Object Orientated design. It is not specific to any language, but will teach you the concepts of OO.
    Last edited by The Doctor; 05-26-2013 at 09:30 PM.
    Code:
    if (codeWorks( code) && !youCanDoSomethingBetter( code) )
    {
         beHappy();
    } else
    {
         fixCode( code);
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. need suggestion
    By san_crazy in forum C Programming
    Replies: 16
    Last Post: 09-26-2008, 06:13 AM
  2. IDE suggestion help
    By WDT in forum C++ Programming
    Replies: 3
    Last Post: 12-07-2007, 08:00 AM
  3. Any suggestion?
    By LePlusMieux in forum C++ Programming
    Replies: 3
    Last Post: 02-19-2003, 12:10 PM
  4. Suggestion.
    By -KEN- in forum A Brief History of Cprogramming.com
    Replies: 34
    Last Post: 12-09-2002, 10:19 PM
  5. Any suggestion?
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 10-28-2001, 04:24 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21