Prev: VC2008 safety checks makes program stop in _DEBUG mode
Next: Possible to code using voice recognition software?
From: Albert on 20 Jan 2010 18:45 Hello, For coding contests I only have a solid knowledge of C. When problems get hard, I won't have time to code up my own Andersson tree but will have to use a binary search tree in the STL. Is there a good tutorial on C++ you would recommend, covering especially the STL, on the internet for C programmers? I need a solid understanding of C++ programs that are the C++ version of the C counterpart (so I can found out what I need to #include, what using namespace std means), and don't need OOP *at all* (but I think the STL requires understanding of OOP, I'm not sure). TIA, Albert
From: Leo Havmøller on 20 Jan 2010 23:54 "Albert" <albert.xtheunknown0(a)gmail.com> wrote in message news:KAM5n.2415$pv.2254(a)news-server.bigpond.net.au... > Hello, > > For coding contests I only have a solid knowledge of C. When problems get > hard, I won't have time to code up my own Andersson tree but will have to > use a binary search tree in the STL. > > Is there a good tutorial on C++ you would recommend, covering especially > the STL, on the internet for C programmers? I need a solid understanding > of C++ programs that are the C++ version of the C counterpart (so I can > found out what I need to #include, what using namespace std means), and > don't need OOP *at all* (but I think the STL requires understanding of > OOP, I'm not sure). I recommend the book "Accelerated C++" by Andrew Koenig and Barbare E. Moo: http://www.amazon.com/Accelerated-C-Practical-Programming-Example/dp/020170353X/ref=sr_1_1?ie=UTF8&s=books&qid=1264049594&sr=8-1 Leo Havm�ller.
From: Bas on 21 Jan 2010 03:34 IMHO I dont think you can understand STL really well if you don't know C++ really well. Bas "Albert" <albert.xtheunknown0(a)gmail.com> wrote in message news:KAM5n.2415$pv.2254(a)news-server.bigpond.net.au... > Hello, > > For coding contests I only have a solid knowledge of C. When problems get > hard, I won't have time to code up my own Andersson tree but will have to > use a binary search tree in the STL. > > Is there a good tutorial on C++ you would recommend, covering especially > the STL, on the internet for C programmers? I need a solid understanding > of C++ programs that are the C++ version of the C counterpart (so I can > found out what I need to #include, what using namespace std means), and > don't need OOP *at all* (but I think the STL requires understanding of > OOP, I'm not sure). > > TIA, > > Albert
From: Francis Glassborow on 21 Jan 2010 05:36 Bas wrote: > > "Albert" <albert.xtheunknown0(a)gmail.com> wrote in message > news:KAM5n.2415$pv.2254(a)news-server.bigpond.net.au... >> Hello, >> >> For coding contests I only have a solid knowledge of C. When problems >> get hard, I won't have time to code up my own Andersson tree but will >> have to use a binary search tree in the STL. >> >> Is there a good tutorial on C++ you would recommend, covering >> especially the STL, on the internet for C programmers? I need a solid >> understanding of C++ programs that are the C++ version of the C >> counterpart (so I can found out what I need to #include, what using >> namespace std means), and don't need OOP *at all* (but I think the STL >> requires understanding of OOP, I'm not sure). >> > IMHO I dont think you can understand STL really well if you don't know > C++ really well. > > Bas However you do not need to understand it in order to use it. E.g. std::vector<T> all the user needs to know is that creates an expendable sequence of T.
From: Bas on 21 Jan 2010 07:50 "Francis Glassborow" <francis.glassborow(a)btinternet.com> wrote in message news:0rudnYqeK6jWs8XWnZ2dnUVZ8gVi4p2d(a)bt.com... > Bas wrote: > >> >> "Albert" <albert.xtheunknown0(a)gmail.com> wrote in message >> news:KAM5n.2415$pv.2254(a)news-server.bigpond.net.au... >>> Hello, >>> >>> For coding contests I only have a solid knowledge of C. When problems >>> get hard, I won't have time to code up my own Andersson tree but will >>> have to use a binary search tree in the STL. >>> >>> Is there a good tutorial on C++ you would recommend, covering especially >>> the STL, on the internet for C programmers? I need a solid understanding >>> of C++ programs that are the C++ version of the C counterpart (so I can >>> found out what I need to #include, what using namespace std means), and >>> don't need OOP *at all* (but I think the STL requires understanding of >>> OOP, I'm not sure). >>> > > > IMHO I dont think you can understand STL really well if you don't know > > C++ really well. > > > > Bas > > However you do not need to understand it in order to use it. E.g. > > std::vector<T> > > all the user needs to know is that creates an expendable sequence of T. ...I think you need at least some knowlegde of templates. If T is a compound object (Base and derived class) you need to know etc. I doubt one can use the STL without knowing C++. Bas
|
Next
|
Last
Pages: 1 2 3 Prev: VC2008 safety checks makes program stop in _DEBUG mode Next: Possible to code using voice recognition software? |