hi...... gcc test.c will compile ur program and create an executable file named a.out and run that program by issuing ./a.out
hi......... #include<windows.h> main() { ExitWindowsEx(EWX_SHUTDOWN,EWX_FORCEIFHUNG); //check this link...
u can also retrive processor specific info using cpuid instruction........ this is what i did in the above program to know how many logical...
output of the above code will be SYSTEM INFORMATION ------------------- Computer Name : SAI Logged user name : Vineel System Up...
hi........ By default ANSI libraries wont provide to the capability to play with ur hardware........ the only solution is use operating system...
Separate names with a comma.