zero_pad.c

  #include void main(void) {   int value = 5;   printf ("%01d/n", value);   printf ("%02d/n", value);   printf ("%03d/n"...

2007-11-09 00:16:00

阅读数 517

评论数 0

write_file.h

  #define IDM_EXIT           100#define IDM_TEST           200#define IDM_ABOUT          301LRESULT CALLBACK WndProc  (HWND, UINT, WPARAM, LPARAM);LR...

2007-11-09 00:15:00

阅读数 472

评论数 0

ws.cpp

  #include void main(void) {    char buffer[256];   cout    cin >> ws >> buffer;   cout  } 

2007-11-09 00:15:00

阅读数 431

评论数 0

xmsdemo.c

  #include #include #include // Note: If you want to use XMS function 0xB, this simple // xms_access routine only works for tiny, small, or medium //...

2007-11-09 00:15:00

阅读数 602

评论数 0

win_setd.cpp

  #include #include #include void main(void) {    char szBuffer[MAX_PATH+100];    UINT nDrive, AvailDrive = 0;    int dwLogicalDrives = GetLogicalDri...

2007-11-09 00:14:00

阅读数 451

评论数 0

workdays.c

  #include void main(void) {   char *workdays[] = {"Monday", "Tuesday", "Wednesday",                        "Thurs...

2007-11-09 00:14:00

阅读数 412

评论数 0

write_file.cpp

  #include   #include "Write_File.h" #if defined (WIN32) #define IS_WIN32 TRUE#else #define IS_WIN32 FALSE#endif#define IS_NT      IS_WIN32...

2007-11-09 00:14:00

阅读数 412

评论数 0

win_equip.cpp

  #include LRESULT CALLBACK WndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ){   switch (uMsg)   {         case WM_COMMAND:              ...

2007-11-09 00:13:00

阅读数 266

评论数 0

win_free.cpp

  #include #include #include void main(void) {    char szBuffer[MAX_PATH+100];    UINT nRow = 0;    UINT nDrive = 0;    DWORD dwLogicalDrives = GetLo...

2007-11-09 00:13:00

阅读数 455

评论数 0

win_a.cpp

  #include #include #include void main(void) {    char szBuffer[MAX_PATH+100];    UINT nDrive = 0;    DWORD dwLogicalDrives = GetLogicalDrives();  if...

2007-11-09 00:12:00

阅读数 336

评论数 0

win_did.cpp

  #include #include #include void main(void) {    char szBuffer[MAX_PATH+100];    DWORD dwLogicalDrives = GetLogicalDrives();     for ( nDrive = 0; n...

2007-11-09 00:12:00

阅读数 455

评论数 0

win_dtre.cpp

  //// win_dtre.cpp//#include "CmnHdr.H"#include #include #include #include #include #include #include "Resource.H"static BOOL Is...

2007-11-09 00:12:00

阅读数 589

评论数 1

whichday.c

  #include void main(void) {   enum { Monday, Tuesday, Wednesday, Thursday, Friday } day;      for (day = Monday; day     if (day == Monday)      pri...

2007-11-09 00:11:00

阅读数 312

评论数 0

window.c

  #include void main(void) {   int i, j;   window(1, 1, 40, 12);   for (i = 0; i     {      for (j = 0; j        cprintf("%d", j);      cpr...

2007-11-09 00:11:00

阅读数 499

评论数 0

winres.h

  // This is a part of the Microsoft Foundation Classes C++ library.// Copyright (C) 1992-1995 Microsoft Corporation// All rights reserved.//// This ...

2007-11-09 00:11:00

阅读数 1935

评论数 0

wherexy.c

  #include void main(void) {   int row, column;   clrscr();   cprintf("This is line 1/r/n");   cprintf("Line 2 is a little longer/r/n&...

2007-11-09 00:10:00

阅读数 360

评论数 0

walk_directories.cpp

  //// Walk_Directories.cpp//#include "CmnHdr.H"#include #include #include #include #include #include #include "Resource.H"static...

2007-11-09 00:09:00

阅读数 377

评论数 0

weekdays.c

  #include void main(void) {   char *weekdays[7] = {"Sunday", "Monday", "Tuesday", "Wednesday",              ...

2007-11-09 00:09:00

阅读数 328

评论数 0

wait_yn.c

  #include #include #include void main(void) {   char letter;               // Letter typed by the user   printf("Do you want to continue? (Y/N)...

2007-11-09 00:08:00

阅读数 393

评论数 0

visible.c

  #include void main(void) {    int value = 1500;   if (value > 1499)     {       int value = 1;       printf("Inner value is %d/n", val...

2007-11-09 00:04:00

阅读数 390

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭