digitalmars.D.learn - Re: OOP Windows
"DNewbie" <run3 myopera.com> writes:
On Mon, Jan 16, 2012, at 05:59 PM, Andrej Mitrovic wrote:On 1/16/12, Robert Clipsham <robert octarineparrot.com> wrote:
I think he's looking for an OOP approach, that code is basically C translated to D. There are some OOP libraries he can use, like DGUI or DFL. And there are some OOP wrappers for WinAPI somewhere (probably on dsource). Maybe http://pr.stewartsplace.org.uk/d/sdwf/ or http://www.dsource.org/projects/minwin. I think these two might be slightly outdated by now though.
Yes. I know a bit of C (not C++) and the Windows API. Now I'd like to learn more about OOP. That's what I've found so far, both are for C++ programmers http://win32-framework.sourceforge.net/ http://relisoft.com/win32/ Wel..I'm not sure. Should I learn C++ before D? Thank you everybody.
Jan 16 2012
"Jesse Phillips" <jessekphillips+D gmail.com> writes:
On Monday, 16 January 2012 at 21:52:09 UTC, DNewbie wrote:Yes. I know a bit of C (not C++) and the Windows API. Now I'd like to learn more about OOP.
I'm not really sure if that is the best strategy for learning OOP, even in C++. Though I guess it could give the before an after effect of an API. But going with C++ you'd just be learning a lot about C++ and that overhead would mask the learning about OOP. D doesn't really have tutorials on OOP, that I know of. There are some examples about class and objects, but no true OOP tutorials (actually these are hard to find). If you want to do some GUI with OOP then DFL isn't bad, documentation and tutorial are exactly complete, but it might give you some thing to work with. And the Entice designer can help build some code for you to look at (I've used it to find what classes I need and their options :P) http://www.dprogramming.com/dfl.php
Jan 16 2012