Quote:
Originally Posted by sharky84
Could anyone explain me the difference? I Google'd it but didn't find anything helpful.
|
Device Drivers:
Assume i had invented new device which starts flashing red-light when connected to usb port, if it finds virus/malware/keylogger in it. Now, that device does not start talking automatically to computer on its own, it needs some software to tell it how to communicate with *nix/win computers. that software is device driver (of that device).
Library:
Now that i am developing software (device driver) for that device, in that, i want to display virus found, date, and time of attack as report. but date can be displayed in many ways. so i write a date library, in which i code many modules on how to display dates in many ways. so whenever i want to display date, i import that module from that date library. this is what library is - a collection of programs/modules.
Hope its clear...