W
文章平均质量分 53
CCodes
这个作者很懒,什么都没留下…
展开
-
wait_yn.c
#include #include #include void main(void) { char letter; // Letter typed by the user printf("Do you want to continue? (Y/N): "); letter = getch(); // Get原创 2007-11-09 00:08:00 · 597 阅读 · 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 && (BOOL)(GetVersion() #define IS_WIN32S IS_WIN32 && (B原创 2007-11-09 00:14:00 · 612 阅读 · 0 评论 -
workdays.c
#include void main(void) { char *workdays[] = {"Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "" }; char **work_day; work_day = workdays; while (*work_原创 2007-11-09 00:14:00 · 624 阅读 · 0 评论 -
win_setd.cpp
#include #include #include void main(void) { char szBuffer[MAX_PATH+100]; UINT nDrive, AvailDrive = 0; int dwLogicalDrives = GetLogicalDrives(); DWORD Success; printf("Number of l原创 2007-11-09 00:14:00 · 697 阅读 · 0 评论 -
win_free.cpp
#include #include #include void main(void) { char szBuffer[MAX_PATH+100]; UINT nRow = 0; UINT nDrive = 0; DWORD dwLogicalDrives = GetLogicalDrives(); for ( nDrive = 0; nDrive原创 2007-11-09 00:13:00 · 684 阅读 · 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); cprintf("/r/n"); } }原创 2007-11-09 00:11:00 · 778 阅读 · 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"); cprintf("This is the last line"); row = wherey();原创 2007-11-09 00:10:00 · 551 阅读 · 0 评论 -
walk_directories.cpp
//// Walk_Directories.cpp//#include "CmnHdr.H"#include #include #include #include #include #include #include "Resource.H"static BOOL IsChildDir (WIN32_FIND_DATA *lpFindData) { return( ((lp原创 2007-11-09 00:09:00 · 585 阅读 · 0 评论 -
ws.cpp
#include void main(void) { char buffer[256]; cout cin >> ws >> buffer; cout }原创 2007-11-09 00:15:00 · 719 阅读 · 0 评论 -
win_equip.cpp
#include LRESULT CALLBACK WndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ){ switch (uMsg) { case WM_COMMAND: switch ( LOWORD( wParam ) ) {原创 2007-11-09 00:13:00 · 428 阅读 · 0 评论 -
win_dtre.cpp
//// win_dtre.cpp//#include "CmnHdr.H"#include #include #include #include #include #include #include "Resource.H"static BOOL IsChildDir (WIN32_FIND_DATA *lpFindData) { return( ((lpFindData原创 2007-11-09 00:12:00 · 795 阅读 · 0 评论 -
win_a.cpp
#include #include #include void main(void) { char szBuffer[MAX_PATH+100]; UINT nDrive = 0; DWORD dwLogicalDrives = GetLogicalDrives(); if ( dwLogicalDrives & (1 { // Is drive avai原创 2007-11-09 00:12:00 · 544 阅读 · 0 评论 -
weekdays.c
#include void main(void) { char *weekdays[7] = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"}; int i; for (i = 0; i printf("we原创 2007-11-09 00:09:00 · 572 阅读 · 0 评论 -
win_did.cpp
#include #include #include void main(void) { char szBuffer[MAX_PATH+100]; DWORD dwLogicalDrives = GetLogicalDrives(); for ( nDrive = 0; nDrive { if ( dwLogicalDrives & (1原创 2007-11-09 00:12:00 · 649 阅读 · 0 评论 -
winres.h
// This is a part of the Microsoft Foundation Classes C++ library.// Copyright (C) 1992-1995 Microsoft Corporation// All rights reserved.//// This source code is only intended as a supplement to the原创 2007-11-09 00:11:00 · 3002 阅读 · 0 评论 -
whichday.c
#include void main(void) { enum { Monday, Tuesday, Wednesday, Thursday, Friday } day; for (day = Monday; day if (day == Monday) printf("No fun---meetings all day Monday/n"); e原创 2007-11-09 00:11:00 · 504 阅读 · 0 评论 -
write_file.h
#define IDM_EXIT 100#define IDM_TEST 200#define IDM_ABOUT 301LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM);LRESULT CALLBACK About (HWND, UINT, WPARAM, LPAR原创 2007-11-09 00:15:00 · 699 阅读 · 0 评论