RE: Re to vectors: [Dev-C++] sizeof array
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <no...@ho...> - 2002-08-01 09:33:22
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Carlos Garc?a del Monte > Sent: Wednesday, July 31, 2002 9:51 PM > To: dev-cpp-users-list > Subject: Re to vectors: [Dev-C++] sizeof array > > > > vectors, of course, but I understood vectors weren't an > option, that Mr > Ramana wants arrays. > But I don't like them very much, I'll need something that you > would say > "vectors!", but I tried them in a elevator simulation, and I got > problems with STL, if I used vector (or list, now I don't > remember when > it was vector and when list) I had a problem, I tried to do > it with list > but then the list couldn't do one pass at it should be done. No insult intended, but 100% the problem was that you did not know how to use them and not the vector itself. > So now I am > writing my own container library, since what I need is > something rather > complicated, and if for that I got problems, for which I > need... woooo!. This is a radical step. Better learn what the standard library has to offer you and then try to make your stuff. :) The standard library is very wise, very generic and very high level. > Well, I haven't tested the mine in that simulation (now I've > forget its > details), but tests with another program work fine. So I say > goodbye to > STL, vector, list and so, and I'll make my own container > classes, I hope > much more powerful than STL. Out limits! You may be an excellent coder and write an excellent container, but i strongly suspect that there is no need for that. > My classes have (or will have sooner or later) all capabilities of STL > and more. :) Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |