> It might only be simple, but you've already fallen foul of memory
> allocation.
I found the bug and learnt. It's been a long time since I did my first C
project... very very long time indeed. Back then, C++ was still a baby.
> It's better to learn good techniques and put them into
> practice with small examples asap rather than persist with the bad old
> ways of doing things. Honestly, you can largely write modern C++
> without ever having to write malloc/free or new/delete - and you get
> an altogether cleaner and better product for it.
My original plan is to use C and Win32API only. I still want to do
things the old-fashioned way. It's challenging and stupid, but then it
was how things were done. I suppose the Window$ OS itself is still
written mostly in plain old C?
Also, MFC is NOT free, not available via VC++ Express.
--
@~@ You have the right to remain silence.
/ v \ Simplicity is Beauty! May the Force and farces be with you!
/( _ )\ (Fedora 15 i686) Linux 3.2.6
^ ^ 01:56:01 up 3 days 2:09 0 users load average: 0.00 0.01 0.05