c
BOOL UTFout(void) { FILE *fp; long position; if (_tfopen_s(&fp, _T("file.txt"), _T("wt, ccs=UTF-8"))) { error(_T("リンクページの作成に失敗しました。")); return FALSE; } // ファイル開始位置を最初にもって行きBOMを消去 // position = ftell(fp)…
プライベートなiniファイルを書き込む際に、"Key=値"の文字列の終端には"\0\0"である必要があるそうです。 TCHAR crntPath[1024]; // カレントパス+iniファイルのパス名 BOOL SaveIniFile(void) { TCHAR strBuf[NUM_MAXBUF]; int length; // 『Key=値の末端…
IEコンポーネントの使い方 [VC++の使い方] http://rararahp.cool.ne.jp/cgi-bin/lng/vc/vclng.cgi?print+200608/06080047.txt COMプログラミング COM(Component Object Model)とは - IT用語辞典 e-Words InternetExplorerðCOMðgÁÄì·é クリップボ…
http://www13.plala.or.jp/kmaeda/index.html
クリップボードの操作
http://www.geocities.jp/anatora5000/index.html
Windowsプログラミング研究室
char、wchar_t(WCHAR)とTCHAR(dinop.com) http://hpcgi1.nifty.com/MADIA/Vcbbs/wwwlng.cgi?print+200605/06050002.txt http://rararahp.cool.ne.jp/cgi-bin/lng/vc/vclng.cgi?print+200406/04060027.txt ユニコードとMBCS(char、WCHAR)(dinop.com)
http://michelangelo.hp.infoseek.co.jp/programming/cpp/win32API/17yourmenu.html
http://homepage1.nifty.com/MADIA/vc/api/
Wie funktioniert das Internet? - m-n-j.com |
DDE�Ƃ͉����H [�t�^/FAQ]
標準 Windows API http://yokohama.cool.ne.jp/chokuto/urawaza/api/
Borland C++ Compiler 5.5@FAQ
Future's Laboratory殿を参考 makefile_bcc - FreeStyleWiki #Makefile CC = bcc32 LINKER = ilink32 INCLUDE = -I"c:\borland\bcc55\Include" LIB = -L"c:\borland\bcc55\Lib;c:\borland\bcc55\Lib\PSDK" #コンパイルオプション CFLAGS = -w -tWC LFLAG = /…
ilink32 c0x32.obj my.obj,my.exe,,cw32.lib import32.lib my.lib
bcc32 -c Mylib.c tlib Mylib.lib +Mylib.obj bcc32 -c main.c ilink32 main.obj Mylib.lib main.c内に #pragma comment(lib, "Mylib.lib") が必要かも知れないがなくても動作した
http://docs.codegear.com/docs/radstudio/radstudio2007/RS2007_helpupdates/HUpdate4/JA/html/devwin32/contents.html
/* csv.c: csvライブラリ本体 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "csv.h" enum { NOMEM = -2 }; /* メモリ不足のシグナル */ /* 独立csvフィールド構造体 */ typedef struct csv_field { int csv_num; /* csv独立ナンバー */ char *line; /* 入力文</string.h></stdlib.h></stdio.h>…
デバッガ ・我々の個人的な手法で言えば、我々がデバッガを使うのは、せいぜいスタックとレースを実行したり変数の値を1~2個表示させたりするときぐらいにすぎない。 ・プログラムをステップ実行するよりも、もっと真剣に考えたり、重要な部分に出力文や自動…
/* hash関数 */ #include <stdio.h> #include <string.h> #include <stdlib.h> #define NHASH 30 #define MULTIPLER 31 #define CREATE 1 typedef struct Nameval Nameval; struct Nameval { char *name; int value; Nameval *next; /* チェイン中の次 */ }; Nameval *symtab[NHASH]; /* </stdlib.h></string.h></stdio.h>…
-D をヌル文字列として定義する -D をとして定義する 例 >bcc32 -ea.exe -DDEBUG cp_mac2.cpp
>cl /EHsc smp1.cpp /EHscはVisual C++独自のスイッチ指定で、標準C++機能の一部(例外処理機能)を適切に処理するためのものである。C++>より
Borland C++ Compiler 5.5 - FAQ CPP32 BCC32が行うコンパイル処理のうちC/C++としてのプリプロセッサの処理だけを行います。プリプロセッサとは、ソースコード中に#で始まる指令(#includeや#define)などを処理する機能です。通常のC/C++コンパイラでは、…
sudo apt-get install manpages-dev
codepad
/* memory.h Copyright 1998, 2001 Red Hat, Inc. This file is part of Cygwin. This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for details. */ #ifndef _MEMORY_H #def…
http://www.kouno.jp/home/c_faq/
/*----------------------------------------------------------- 心霊研究所引用テキスト変換プログラム -----------------------------------------------------------*/ #include <stdio.h> #include <string.h> #include <stddef.h> #define FOUND 0 #define GYOUMAX 500 #define TIKA</stddef.h></string.h></stdio.h>…
int minimum(int a, int b) { return (a < b> ? a : b; } ? より前の条件 (a