Sukasa![]() Level: 123 Posts: 1051/4326 EXP: 20936863 For next: 294403 Since: 07-07-07 Since last post: 1.1 years Last activity: 1.1 years |
| |
|
![]() Register - Login | |||||
|
Main
- Memberlist
- Active users
- Calendar
- Wiki
- IRC Chat
- Online users Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies |
|
| | |||
| Jul - Computers and Technology - Having a problem with a C++ function |
- - ![]() |
| Next newer thread | Next older thread |
Sukasa![]() Level: 123 Posts: 1051/4326 EXP: 20936863 For next: 294403 Since: 07-07-07 Since last post: 1.1 years Last activity: 1.1 years |
| |
|
|
paulguy Green Birdo Level: 93 ![]() Posts: 203/2294 EXP: 8032816 For next: 19994 Since: 09-14-07 From: Buffalo, NY Since last post: 9.7 years Last activity: 9.7 years |
|
| I think I can see why it's crashing, but as far as dealing with it... update SDL or just make your own DLL with the fixes and ship your program with that.
As for why, it's only allocating enough space for the original size of the array. it's not enlarging it at all. If the function began with num_decoders++, then removed the one later on, it would probably work. Unless I'm completely missing something, which is usually the case! |
| Next newer thread | Next older thread |
| Jul - Computers and Technology - Having a problem with a C++ function |
- - ![]() |
|
Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.
|