whats this !?!?
hi all!!
well, someone know whats a wrapper !?!?, its something like a library or what !?!?
see ya!!
keep playing!!sigan jugando!!
It''s basically a set of functions to make things easier to do,
and clearer to read. Like if you had 20 things you had to do
to Initialize something, would you rather have 20 lines just
sitting there in your code, or would you rather have something
like Initialize();?
Most people like the latter, and thats why the write wrappers.
Also they do this to get autographs yo!
-=Lohrno
and clearer to read. Like if you had 20 things you had to do
to Initialize something, would you rather have 20 lines just
sitting there in your code, or would you rather have something
like Initialize();?
Most people like the latter, and thats why the write wrappers.
Also they do this to get autographs yo!
-=Lohrno
A wrapper is a bit of code written to adapt the interface you get, say from a library, to the format of the calls used in an application, or vice-versa. For example, GLUT acts as a wrapper for the windowing system : you write calls to GLUT instead of writing calls either for GDI or XWindow.
Edit : It's like having an adapter to have your plug fit in the socket.
Edited by - Fruny on February 27, 2002 4:55:56 AM
Edit : It's like having an adapter to have your plug fit in the socket.
Edited by - Fruny on February 27, 2002 4:55:56 AM
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement