AutoRun or AutoPlay is a feature of Microsoft Windows operating Systems which causes a certain file to be opened automatically when a Compact disc is inserted or a thumb drive is connected. Windows provide us some AutoPlay options to choose from. It can be chosen in the 'properties' of the CD Drive. You might have noticed that when we insert the CDs of Softwares or some movies some application will be launched automatically. In most cases, it may be one with a menu or a movie player. Such AutRuns are designed by the software vendors. Similarly, we can also design an autorun for a CD we burn or even for a pen drive.
Information about resetting and configuring Mobile phones (Java, Android, Symbian etc), educational articles especially for programming in C, C++ and Java and more about Computers and operating systems
Showing posts with label set. Show all posts
Showing posts with label set. Show all posts
C Program to Display and Set System Time and Date Using 8086 Interrupts
This is a C Program to Display and Set System Time and Date Using 8086 Interrupts. Interrupt number 21 (in hexadecimal) is used to:
Output of c Program to get and set system time and date |
- Get System time
- Set System time
- Get System Date
- Set System Date
To Get system date:
- Call interrupt 0x21 (hexadecimal)
- AH (higher byte of accumulator) should be made equal to 2A (hex) before calling interrupt
Output:
Algorithm, C and C++ Programs to find Closure From Functional Dependencies
In this post we will see how to find closure of an attribute or a set of attributes. Before learning how to get closure, we should first know what is a closure. Closure of a given set C is the set of attributes that are functionally determined by the set C under the set of functional dependencies F. There can be closure for any set. Every attribute in the set whose closure is to be found out, will be a member of its closure set C+ also. Consider an example:
Subscribe to:
Posts
(
Atom
)