原创 CSTRINGLIST用法

CSTRINGLIST用法   CStringList類成員 構造 CStringList 構造一個空的CString對象列表 首/尾訪問 GetHead 返回此列表(不能是空的)中頭部的元素 GetTail 返回此

原创 Scrapy 報錯 “No module named win32api”的解決方法

剛接觸Scrapy時,安裝了Scrapy,運行示例的Spider時,報告以下錯誤, “... Unhandled error in Deferred: 2017-05-09 16:55:15 [twisted] CRITICAL: Unh

原创 gj 更新

#include "stdafx.h"#include "Test.h"#include "TestDlg.h"#include <afxinet.h> #ifdef _DEBUG#define new DEBUG_NEW#undef T

原创 LINK1123:failure during conversion to COFF:file invalid or corrupt

今天用Visual Studio 2010編譯一個VC++6.0工程時突然遇到下面這個編譯錯誤。fatal error LINK1123:failure during conversion to COFF:file invalid or

原创 VS2010 MSDN2010安裝及使用(MSDN Library)

MSDN2010安裝及使用(MSDN Library) VS2010正式版不再有單獨的MSDN Library安裝選項,以至於很多同學找不到本地的MSDN Library來用,其實VS2010的ISO安裝光盤裏已經包含有MSDN Lib

原创 日曆

#include "stdafx.h"#include "string.h"#include "math.h"#include "string"#include "time.h"#include "math.h"#include <win

原创 大端、小端與網絡字節序

大端(Big-Endian),小端(Little-Endian)以及網絡字節序的概念在編程中經常會遇到,其中網絡字節序(Network Byte Order)一般是指大端(Big-Endian,對大部分網絡傳輸協議而言)傳輸,大端小端的

原创 office如何打開多個excel文件窗口

原帖 http://blog.csdn.net/bbirdsky/article/details/44019749   問題現象: 當打開多個excel文件時,直接雙擊文件打開,你會發現多個excel是共用的同一個窗口。這樣很不方便兩個

原创 C#語言 第四部分 圖形界面編程(五) 佈局容器類(3)

原文:http://blog.csdn.net/mousebaby808/article/details/5532190 5 表格佈局 無論使用錨定佈局還是流式佈局,都無法達到複雜佈局的效果,很多時候我們不得不使用絕對佈局,忍受絕對佈局

原创 freecell

  printf("/t/t/t/t選局/n/t/t/t 從 1 到 1000000: "); cin>>g_gamenumber; Shuffle(g_gamenumber); string sR = ToString(); prin

原创 fc_solver

#define __MSDOS__ #if 1 /* * Program for testing winnability of opening positions in Free Cell. * Can also generate

原创 fc2

struct sdLink{    BYTE    a;  // a 點    BYTE    b;  // b 點    BYTE    x;  // a點的候選數x    BYTE    y;  // b點的候選數y     bool

原创 Lunar

void cyclical(long offset, char GanZhi[5]) {    long i = offset % 60;    if (i < 0)        i += 60;    strcpy(GanZhi, G

原创 gj

// testDlg.h  URLDownloadToFile// download by http://www.codefans.net/soft/5667.shtml #if !defined    AFX_TESTDLG_H__#d

原创 wxyz-wing

// [11/17/2010 anning]// WXYZ-Wingbool Sudoku::WXYZ_Wing(int n){    struct sdWXYZ    {        _Point  p;        int