Newbie ? Wrapper
What exactly is a " Wrapper " ? Is it just a compilation of commands wrapped into a new call or command ?
tks
datool
quote: Original post by datoolman
Is it just a compilation of commands wrapped into a new call or command ?
Yeah. That''s pretty much it. It usually involves taking a lot of lower level functions and wrapping in them into one (or more) high level function(s). For example, in DirectDraw you have to do a buncha stuff to set up. You could write one function that would wrap all this setup into one easy to remember function.
-------
Andrew
A lot of wrappers are also implemented as objects so that they can clean up after themselves to. I am working on a simple set of wrapper classes for my own use right now and it is simplifying my work enormously. Speaking of which, does anybody know where to get the CDX library anymore?
Thanks,
Landsknecht
Thanks,
Landsknecht
My sig used to be, "God was my co-pilot but we crashed in the mountains and I had to eat him..."
But folks whinned and I had to change it.
But folks whinned and I had to change it.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement