Click here to Skip to main content
15,912,475 members
Home / Discussions / Article Writing
   

Article Writing

 
GeneralI want a good activeX. Pin
dSolariuM24-Dec-04 17:28
dSolariuM24-Dec-04 17:28 
GeneralRe: I want a good activeX. Pin
Anonymous25-Dec-04 16:03
Anonymous25-Dec-04 16:03 
GeneralError in an article Pin
Juuitchan220-Dec-04 18:21
Juuitchan220-Dec-04 18:21 
GeneralRe: Error in an article Pin
Colin Angus Mackay21-Dec-04 10:22
Colin Angus Mackay21-Dec-04 10:22 
Generali want the source code to the following riddle urgent please! Pin
babur khan18-Dec-04 22:10
babur khan18-Dec-04 22:10 
GeneralRe: i want the source code to the following riddle urgent please! Pin
DavidNohejl18-Dec-04 23:26
DavidNohejl18-Dec-04 23:26 
GeneralCode Generator Pin
GerhardKreuzer18-Dec-04 12:20
GerhardKreuzer18-Dec-04 12:20 
Generalfolder password Pin
AuroraX10-Dec-04 3:02
AuroraX10-Dec-04 3:02 
GeneralRe: folder password Pin
Anonymous19-Dec-04 19:22
Anonymous19-Dec-04 19:22 
GeneralRe: folder password Pin
zybernau28-Dec-04 4:41
zybernau28-Dec-04 4:41 
GeneralLDAp & VB.NET Pin
Dharmesh Gandhi2-Dec-04 8:54
sussDharmesh Gandhi2-Dec-04 8:54 
QuestionHow to check if a thread waits for data at the read-end of a pipe? Pin
leifel25-Nov-04 0:56
leifel25-Nov-04 0:56 
AnswerRe: How to check if a thread waits for data at the read-end of a pipe? Pin
Blake Miller2-Dec-04 5:05
Blake Miller2-Dec-04 5:05 
GeneralRe: How to check if a thread waits for data at the read-end of a pipe? Pin
leifel2-Dec-04 21:34
leifel2-Dec-04 21:34 
GeneralTelnet Login's Pin
Flame Gitsnik23-Nov-04 10:13
Flame Gitsnik23-Nov-04 10:13 
Generalflash templates Pin
Anonymous22-Nov-04 19:42
Anonymous22-Nov-04 19:42 
GeneralInterest in C++ Library Alternative to STL Pin
Christopher Diggins21-Nov-04 4:27
professionalChristopher Diggins21-Nov-04 4:27 
GeneralRe: Interest in C++ Library Alternative to STL Pin
Joaquín M López Muñoz21-Nov-04 5:53
Joaquín M López Muñoz21-Nov-04 5:53 
GeneralRe: Interest in C++ Library Alternative to STL Pin
Christopher Diggins21-Nov-04 7:07
professionalChristopher Diggins21-Nov-04 7:07 
Hello Joaquín,

I, for one, would be very interested in seeing this library develop at CP (or any other place, for that matter).

I am very pleased to hear that.

I've got a couple of questions: Is there any draft source code we can have a look at?

By tommorrow morning there will be, but I will have to warn you that making interfaces and design by contract work in C++ leads to some really complicated code.

If I'm understanding your rationale, I'd say OOTL collections work more or less like the STL with the important difference that they support interface-based polymorphism. Is this the key concept behind OOTL, or am I missing something?


This is essentially correct, though I consider the most important difference to be that the OOTL collections are arranged in a proper hierarchy, and are more like the abstract data types they represent. It may seem trivial, but the fact that the OOTL collections all use a common iterator type makes working with OOTL collections much easier and less cryptic.

Collections aside, I find the interface concept much intriguing. Reminds me of some dynamic type checking languages like Smalltalk, with some added compile-time checking in the spirit of C++. While I'd say this type of programming is not what C++ purports to support, maybe it can be useful for prototyping and some forms of RAD programming.

Most definitely but the applications extend to any kind of object-oriented design.

Have you investigated how well interface programming interacts with GUI frameworks like MFC and WTL?

Not yet, but this is a direction I would very much like to explore. There are no forseeable options to using interfaces with these kinds of libraries. It would be great to design a GUI library that could be adapted to work with different C++ GUI toolkits.

While these frameworks are not polymorphic in the C++ sense of the word, it seems to me like commonality between different widgets (for instance, the SetWindowText/GetWindowText stuff) can be appropriately captured by suitable interfaces.

Definitely.

Thanks again for your interest, and I will post to this thread as more news occurs. If you wish to follow or contribute development discussions, you can easily do so at http://groups-beta.google.com/group/ootl[^].

Christopher Diggins
http://www.cdiggins.com
http://www.heron-language.com
GeneralRe: Interest in C++ Library Alternative to STL Pin
Vivi Chellappa30-Nov-04 15:11
professionalVivi Chellappa30-Nov-04 15:11 
GeneralRe: Interest in C++ Library Alternative to STL Pin
Christopher Diggins25-Nov-04 18:52
professionalChristopher Diggins25-Nov-04 18:52 
GeneralNewbie - Html, swf & Yahoo Pin
Tweetiengram14-Nov-04 7:53
Tweetiengram14-Nov-04 7:53 
GeneralImport data to msde from SQL 2000 Pin
nitin_ion9-Nov-04 23:56
nitin_ion9-Nov-04 23:56 
GeneralRe: Import data to msde from SQL 2000 Pin
CodeWell17-Nov-04 20:32
CodeWell17-Nov-04 20:32 
GeneralRe: Import data to msde from SQL 2000 Pin
Steve S17-Nov-04 22:18
Steve S17-Nov-04 22:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.