Coding contests >> Create a String class, file IO class from scratch
Posted by Doom2pro on 17:47:00 09-23-2002
Contest: Create a string-like class in C++, re-write all functions (substr, find, input etc...), and use only standard libs. And or create a file i\o class with an array (not a c array) of functions (GetLine, AddLine Lines etc...) for simple, but powerfull textfile input\output. Post code here in forum, or if you have a website, post it there, and link from here.

Best class wins, and gains the respect of fellow programmers.

Go!
Posted by KaGez on 22:50:00 09-23-2002
Quote:
On 2002-09-23 17:47, Doom2pro wrote:
Contest: .... and use only standard libs. And or create a file i\o class with an array (not a c array) of functions (GetLine, AddLine Lines etc...) ....


well, stdio.h _is_ a standard lib...
[addsig]
Posted by Doom2pro on 06:54:00 09-24-2002
Yeah, true, it is, but I said C++ , and besides, I also said Make your own.

[ This Message was edited by: Doom2pro on 2002-09-24 06:55 ]
Posted by KaGez on 17:33:00 09-24-2002
well, I can easily make my own with iostream.h
but yeah, I've got the idea
sounds interesting, but I've got no time atm to work on that... school, partyfish, my game project, translating a manual from japanese to english... as you can see my hands are just full, sorry man
Posted by Doom2pro on 16:50:00 09-25-2002
Eh, NP it's just that After browsing the forums, I got the idea that we need better contests I figured I would add one.

-Richard
Posted by robost86 on 17:26:00 09-25-2002
After having read this thread, I'm convinced we need better contests

Check out bpt's object system contest.
Posted by KaGez on 22:41:00 09-28-2002
ok, to be honest, I think this contest is much more fun than that object system
it's a great idea, and if I'd have the time, I'd _love_ to participate in this one
[addsig]