- 279 名前:名前は開発中のものです。 mailto:sage [2012/06/22(金) 14:33:31.71 ID:EOlR9Clb]
- ハンドルのポインタだな。
int sound1, sound2; int *pHandle = &sound1; se_play(*pHandle); でも >>272 の引数はcharなんだよね。 たぶんツリーでハンドルのこといいたいんだろう。 std::map< std::string , int > tree; void se_play(char* name){ std::string key = name; int handle = tree[key]; }
|

|