Nice one. Hehe, I just submitted one, but it's actually way off what ended up happening. By the way, why are you writing your own string class? Is std::string not what you're looking for?
Sorry, I don't mean to quarrel but since he's doing his own array, list classes and so on it seems only logical that he'd make a custom string class as well. I don't really know what are his reasons for not using STL but there are many valid ones and I trust his better judgment. Not that it isn't a good question though. (Just my opinion, not trying to offend anyone)
Some of the std classes not only depend on implementation, and thus may behave differently depending on the platform you use, but also dont work the way i want things to work, so i've written some of them. Though, StringA aint created yet.
I started with DynamicArrays 'cos i didnt like std::vector, it didnt let me keep my objects' address when adding or removing an object, and i kinda needed that at the time, so i made a std::vector-like, doubly-linked-list class, and later created an Array class not only to have a non-dynamic version, but also to improve things std::vector doesnt have (like my AddNew() method), and also use it as a Cache List for the DynamicArray, thus reducing list traversal times by using the Cache List to get a pointer to each member of the DynamicArray.
O Comment que postaste está no sitio errado, tens de clicar em Reply no comment dele se queres responder ao comment dele, senão ele não sabe que mandaste um comment em resposta ao dele.
Btw, vê a resposta que lhe dei para também tu saberes as razões.
Daily Literature Deviations is a group that is dedicated to bringing literature to the forefront of the deviantArt community. We attempt to accomplish this by daily featuring Literature artists from around the community that deserve the recognition, but are not getting it.
Each day we will feature 10 deviations from the Literature categories in a News Article. In order to support the artists that we feature, we ask that you the news article as well as check out the individual pieces. We understand that each day you may not be able to check out each and every one of the pieces, everyone has their own things going on. We just ask that you make an attempt to help support the growing Literature community.
Daily Literature Deviations is a group that is dedicated to bringing literature to the forefront of the deviantArt community. We attempt to accomplish this by daily featuring Literature artists from around the community that deserve the recognition, but are not getting it.
Each day we will feature 10 deviations from the Literature categories in a News Article. In order to support the artists that we feature, we ask that you the news article as well as check out the individual pieces. We understand that each day you may not be able to check out each and every one of the pieces, everyone has their own things going on. We just ask that you make an attempt to help support the growing Literature community.
When it comes to community spirit, `Rushy is a shining example. From participating in devmeets, to providing positive encouragement to other artists, `Rushy can always be found demonstrating what it really takes to be a true deviant. It's without any hesitation that we are delighted to award the Deviousness Award for July 2009 to `RushyRead More
Devious Comments
Comments
--
When you have eliminated the impossible, whatever remains, however improbable, must be the truth.
- Sherlock Holmes
--
Aim high. Work hard. Achieve often.
I don't really know what are his reasons for not using STL but there are many valid ones and I trust his better judgment.
Not that it isn't a good question though.
(Just my opinion, not trying to offend anyone)
Good luck with your work
--
// TO DO
I started with DynamicArrays 'cos i didnt like std::vector, it didnt let me keep my objects' address when adding or removing an object, and i kinda needed that at the time, so i made a std::vector-like, doubly-linked-list class, and later created an Array class not only to have a non-dynamic version, but also to improve things std::vector doesnt have (like my AddNew() method), and also use it as a Cache List for the DynamicArray, thus reducing list traversal times by using the Cache List to get a pointer to each member of the DynamicArray.
--
GhostEngine Developer
Btw, vê a resposta que lhe dei para também tu saberes as razões.
--
GhostEngine Developer
Vigilante coder
--
Aim high. Work hard. Achieve often.
--
// TO DO
I'm not sure if I should code my own game engine anymore.
--
GhostEngine Developer
Previous PageNext Page