Chat on IRC |
Source Library in C/C++
Posted by Mycroft [send private reply] at August 05, 2002, 09:28:34 PM
I don't know if anybody else is doing this, but I'm working on a simple source library for windows. For example i have source files that has a basic window setup so I can just copy and paste it into a new project instead of having to rewrite all the code. What I'm wondering is if anyone else is doing this to learn windows programming(which I am), and if you are what source files you are writing(so I can get some more ideas)?
Posted by Psion [send private reply] at August 06, 2002, 07:49:16 AM
I think you'd be better off using a cross-platform windowing library like wxWindows. There is really no benefit to learning a particular platform's API when you can use libraries with much simpler interfaces that work on the vast majority of personal computers and workstations in use today.
Posted by Mycroft [send private reply] at August 06, 2002, 12:22:35 PM
No I'm not writing a library I'm writing a bunch of source files to create a "source library" for myself for future use but not a conventional library.
Posted by mrnorman [send private reply] at August 06, 2002, 12:53:44 PM
Psion, I realize the benefits of cross-platform, but don't you have more power and control over your windows when you use a platform's API? I mean doesn't custom use of a platform's API allow for greater optimization and customization of GUI's?
Posted by Psion [send private reply] at August 06, 2002, 02:27:54 PM
Mycroft, I'm talking about creating a set of starting source files that use wxWindows, not using wxWindows instead of the thing you are creating.
mrnorman, if you know of an example showing that that is a valid point, then I'd like to hear it.
Posted by CViper [send private reply] at August 06, 2002, 03:06:05 PM
As far as i have seen, API's like the Win32 are much more "complete" than the most *simpler* crossplatform ones. So there is a (slight?) benefit.
Posted by Neumann [send private reply] at August 06, 2002, 03:50:51 PM
I believe the benefits of using Win32 C API is to learn how Windows works. I understand the portability concerns and simplicity concerns but I believe that if Mycroft wants to do that program to learn the Windows API then it is not a complete waste of time.
But, if he wanted to write a program that is meant to be distributed to a wide public, then wxWindows, qt, fltk, etc. might be excellent choices.
Posted by mrnorman [send private reply] at August 07, 2002, 01:43:00 PM
Psion, when someone puts a question mark at the end of a scentence, it's usually an indication that a question was asked, not a point being made. If wxWindows does in fact allow for most platform-specific GUI "details" (which you assumed I thought it didn't), that sounds great.
Posted by Psion [send private reply] at August 07, 2002, 03:51:54 PM
I doubt it allows for "most" platform specific features. My point was rather questioning if you have any business using those features. =)
Posted by mrnorman [send private reply] at August 08, 2002, 05:37:32 PM
Haha, I see.
Register as a new user | ||||||||||||