#include <windows.h>
#include <stdio.h>
int main (int argc, char **argv)
{
 printf ("Good-bye!\n");
 ExitWindows(0, 0);
 return 0;
}
5
Contributors
4
Replies
9
Views
13 Years
Discussion Span
Last Post by BountyX
0

With newer versions of windows you acn also use the "shutdown" command by calling system();

Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.