Click here to Skip to main content
15,889,462 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Debug Assertion Failed due to image list Pin
Anonymous12-Aug-03 14:10
Anonymous12-Aug-03 14:10 
GeneralRe: Debug Assertion Failed due to image list Pin
Anonymous12-Aug-03 15:01
Anonymous12-Aug-03 15:01 
GeneralRe: Debug Assertion Failed due to image list Pin
jhwurmbach12-Aug-03 23:07
jhwurmbach12-Aug-03 23:07 
GeneralRe: Debug Assertion Failed due to image list Pin
Binayak13-Aug-03 7:22
Binayak13-Aug-03 7:22 
GeneralRe: Debug Assertion Failed due to image list Pin
jhwurmbach13-Aug-03 21:13
jhwurmbach13-Aug-03 21:13 
GeneralRe: Debug Assertion Failed due to image list Pin
Binayak14-Aug-03 7:21
Binayak14-Aug-03 7:21 
GeneralGetting size of array in a func ! Pin
Hadi Rezaee12-Aug-03 12:19
Hadi Rezaee12-Aug-03 12:19 
GeneralRe: Getting size of array in a func ! Pin
Dave Bryant12-Aug-03 12:28
Dave Bryant12-Aug-03 12:28 
You can't do that. The array is actually passed into the function as a pointer, not as an array. This means that sizeof(item) will always be 4. Instead you should either pass through the size of the array as a separate parameter, or even better, use an STL container such as a vector, which includes its size within the container itself.

Dave
http://www.cloudsofheaven.org
GeneralRe: Getting size of array in a func ! Pin
Hadi Rezaee12-Aug-03 13:03
Hadi Rezaee12-Aug-03 13:03 
GeneralRe: Getting size of array in a func ! Pin
FlyingDancer12-Aug-03 15:39
FlyingDancer12-Aug-03 15:39 
GeneralRe: Getting size of array in a func ! Pin
jhwurmbach12-Aug-03 23:11
jhwurmbach12-Aug-03 23:11 
GeneralGDI: Background image Pin
Hosam Aly Mahmoud12-Aug-03 11:57
Hosam Aly Mahmoud12-Aug-03 11:57 
GeneralRe: GDI: Background image Pin
HPSI12-Aug-03 13:15
HPSI12-Aug-03 13:15 
GeneralRe: GDI: Background image Pin
Hosam Aly Mahmoud12-Aug-03 17:54
Hosam Aly Mahmoud12-Aug-03 17:54 
GeneralRe: GDI: Background image Pin
Anonymous12-Aug-03 14:18
Anonymous12-Aug-03 14:18 
GeneralRe: GDI: Background image Pin
Hosam Aly Mahmoud12-Aug-03 17:59
Hosam Aly Mahmoud12-Aug-03 17:59 
GeneralMemory Pin
Hosam Aly Mahmoud12-Aug-03 11:53
Hosam Aly Mahmoud12-Aug-03 11:53 
GeneralRe: Memory Pin
John M. Drescher12-Aug-03 12:32
John M. Drescher12-Aug-03 12:32 
GeneralRe: Memory Pin
Hosam Aly Mahmoud12-Aug-03 18:12
Hosam Aly Mahmoud12-Aug-03 18:12 
GeneralRe: Memory (EDITED) Pin
John M. Drescher12-Aug-03 19:15
John M. Drescher12-Aug-03 19:15 
GeneralRe: Memory (EDITED) Pin
Hosam Aly Mahmoud16-Aug-03 17:34
Hosam Aly Mahmoud16-Aug-03 17:34 
GeneralRe: Memory (EDITED) Pin
John M. Drescher17-Aug-03 17:47
John M. Drescher17-Aug-03 17:47 
GeneralRe: Memory (EDITED) Pin
Hosam Aly Mahmoud17-Aug-03 18:09
Hosam Aly Mahmoud17-Aug-03 18:09 
GeneralRe: Memory (EDITED) Pin
John M. Drescher17-Aug-03 18:53
John M. Drescher17-Aug-03 18:53 
GeneralRe: Memory (EDITED) Pin
Hosam Aly Mahmoud17-Aug-03 21:37
Hosam Aly Mahmoud17-Aug-03 21:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.