- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
typedef signed int s32;
//...
void SomeStruct::SomeFunc(const char* ipImageName /*, ... */ )
{
// ...
s32 imageNameSize = strlen(ipImageName) * sizeof(char) + 1;
this->mpImageName = new char[imageNameSize];
strcpy(this->mpImageName, ipImageName);
// ...
}
Kirinyale 13.06.2010 15:03 # −3
Говногость 13.06.2010 16:31 # 0
Kirinyale 13.06.2010 16:41 # +2
guest 14.06.2010 12:06 # 0
guest 14.06.2010 16:06 # 0
guest 14.06.2010 18:12 # 0
guest 14.06.2010 20:23 # 0
guest 16.06.2010 00:41 # 0
guest 16.06.2010 06:38 # 0
guest 18.06.2010 18:36 # 0
KoirN 13.06.2010 19:38 # +2
Kirinyale 13.06.2010 19:42 # −4
guest 14.06.2010 09:09 # +1
guest 14.06.2010 18:12 # 0
Летние каникулы же
guest 14.06.2010 09:16 # 0
guest 15.06.2010 16:34 # −1
xaionaro 15.06.2010 18:47 # 0
guest 16.06.2010 06:39 # 0
guest 16.06.2010 06:42 # 0