Programming_C のバックアップソース(No.3) - アールメカブ

アールメカブ


Programming_C のバックアップソース(No.3)

#contents

*[[strtokとchar_strtok]] [#h35daddc]

*  [[マルチバイト文字とワイド文字の変換wcstok_wcstombs_etc>wcstok_wcstombs_etc]] [#o1f7c048]

* stringオブジェクトをprintfで表示 [#ef99228f]

よく忘れてはまる.pa は map <string,int> ma のイテレーターとする
 printf("word = %s: freq = %d\n", 
         (pa->first).c_str(), pa->second );
* [[mapコンテナから要素を削除する]] [#ib24655b]
*  [[malloc再考>hidden_malloc]] [#ca6ccbea]
* [[C_N-gram]] [#ha177611]
* [[C_日本語一文字を取得]] [#x344101e]
-* gcc-4.0だと、エンコーディングを指定してコンパイルする
ことができる.
 $ gcc -finput-charset=Shift_JIS hoge.c -o hoge.o
* [[hidden_C_N-gram]] [#j6e210da]
* [[hidden_C_CharCode]] [#sa14f81d]
*  [[ディレクトリ操作dirent.h]] [#q17036ad]
* [[strtokとmap]] [#l2926178]
* [[stringとchar]] [#n3161220]
* extern [#p19d2e87]
http://osdir.com/ml/gnu.mingw.user/2002/msg03869.html
>
"__declspec(dllimport)" and "extern
__declspec(dllexport)" both imply a declaration, but that
"__declspec(dllimport)" causes the linker to look for the __imp symbol in an
import library, while "extern __declspec(dllexport)" declares a function that must be defined in the program's source (no __imp prefix).
<

設定されている環境変数を表示するには、printenvコマンドを
* -fPIC は共有ライブラリ (*.so)を作成するオプション [#n843e3bd]
//http://oshiete1.goo.ne.jp/qa1936970.html
* [[ライブラリの構築>http://docs.sun.com/source/806-4837/Building.html]]* [#aa3f5f90]
* [[Boost_regex]] [#vf944a8b]
* [[Cでメモリを節約して文字列を読む]] [#o088c089]
* [[C_INCLUDE_PATH]] [#fc0db8d7]
* [[ヘッダファイルの場所]] [#neb60e6b]
* [[sizeofについて]] [#a0365a3f]
* [[const_castの使い方]] [#c1caa9b7]
* [[C++とヘッダ]] [#k1aead24]
* [[Cで文字列を空にする]] [#qf247e2c]
* [[Cで動的に配列を作成する]] [#tf578c2e]
* [[C++での正規表現>CPP_regex]] [#hdd659fe]
* [[CPP_file_tokenize]] [#r5a2a3e8]
* [[CPP_vectorの使い方]] [#qda05f47]
* [[CPP_mapの使い方]] [#i20c6033]
* [[Prog_Mecab]] 和布蕪の出力処理 [#l20d392d]
* [[cin関数でのオーバーフロー>Programming_cin]] [#nb13260f]