•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C section within the Software Development category of DaniWeb, a massive community of 392,210 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,770 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C advertiser:
This tiny code will demonstrate how to log-off from windows.
Enjoy!
Enjoy!
#include <windows.h> #include <stdio.h> int main (int argc, char **argv) { printf ("Good-bye!\n"); ExitWindows(0, 0); return 0; }
Comments (Newest First)
Dark_Omen | Posting Pro | Sep 20th, 2004
•
•
•
•
I always thought that more went into log-in/log-off code
Mahen | Junior Poster in Training | Sep 20th, 2004
•
•
•
•
wow, just what i needed 8)
could you make one for "shutdown" :-D
could you make one for "shutdown" :-D
dampy | Newbie Poster | Sep 20th, 2004
•
•
•
•
great superb fantabulous man superb
BountyX | Code Guru | Sep 20th, 2004
•
•
•
•
With newer versions of windows you acn also use the "shutdown" command by calling system();
Post Comment
•
•
•
•
DaniWeb Marketplace (Sponsored Links)