Click here to Skip to main content
15,907,913 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CScrollbar, and OnHScroll Pin
keegan25-Jun-03 8:07
keegan25-Jun-03 8:07 
GeneralRe: CScrollbar, and OnHScroll Pin
David Crow25-Jun-03 8:08
David Crow25-Jun-03 8:08 
GeneralRe: CScrollbar, and OnHScroll Pin
olle25-Jun-03 8:26
olle25-Jun-03 8:26 
General'memset' vs '= {0}' Pin
Atlantys25-Jun-03 7:36
Atlantys25-Jun-03 7:36 
GeneralRe: 'memset' vs '= {0}' Pin
Joe Woodbury25-Jun-03 7:51
professionalJoe Woodbury25-Jun-03 7:51 
GeneralRe: 'memset' vs '= {0}' Pin
Atlantys25-Jun-03 8:36
Atlantys25-Jun-03 8:36 
GeneralRe: stosd Pin
Joe Woodbury25-Jun-03 8:41
professionalJoe Woodbury25-Jun-03 8:41 
GeneralRe: 'memset' vs '= {0}' Pin
Jim Crafton25-Jun-03 7:56
Jim Crafton25-Jun-03 7:56 
Well (as I found out the hard way) the
MY_STRUCT foo = {0};


is only usable (in terms of zeroing out the whole structure) on MS compilers. So if you want to write correct, portable code you should use memset (AFAIK).

¡El diablo está en mis pantalones! ¡Mire, mire!

Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
GeneralRe: 'memset' vs '= {0}' Pin
David Crow25-Jun-03 8:13
David Crow25-Jun-03 8:13 
GeneralRe: 'memset' vs '= {0}' Pin
John R. Shaw25-Jun-03 8:34
John R. Shaw25-Jun-03 8:34 
GeneralRe: 'memset' vs '= {0}' Pin
Atlantys25-Jun-03 8:37
Atlantys25-Jun-03 8:37 
GeneralRe: 'memset' vs '= {0}' Pin
Michael Dunn25-Jun-03 14:43
sitebuilderMichael Dunn25-Jun-03 14:43 
GeneralRe: 'memset' vs '= {0}' Pin
Jim Crafton26-Jun-03 3:07
Jim Crafton26-Jun-03 3:07 
GeneralCoding droplist data in MFC Pin
keegan25-Jun-03 7:23
keegan25-Jun-03 7:23 
GeneralRe: Coding droplist data in MFC Pin
Maximilien25-Jun-03 7:33
Maximilien25-Jun-03 7:33 
GeneralRe: Coding droplist data in MFC Pin
keegan25-Jun-03 7:48
keegan25-Jun-03 7:48 
GeneralRe: Coding droplist data in MFC Pin
David Crow25-Jun-03 8:05
David Crow25-Jun-03 8:05 
GeneralRe: Coding droplist data in MFC Pin
keegan25-Jun-03 8:26
keegan25-Jun-03 8:26 
GeneralRe: Coding droplist data in MFC Pin
David Crow25-Jun-03 8:46
David Crow25-Jun-03 8:46 
GeneralRe: Coding droplist data in MFC Pin
keegan25-Jun-03 9:14
keegan25-Jun-03 9:14 
Generalrandom numbers rand() Pin
johnstonsk25-Jun-03 6:30
johnstonsk25-Jun-03 6:30 
GeneralRe: random numbers rand() Pin
Rob Caldecott25-Jun-03 6:38
Rob Caldecott25-Jun-03 6:38 
GeneralRe: random numbers rand() Pin
johnstonsk25-Jun-03 6:55
johnstonsk25-Jun-03 6:55 
GeneralRe: random numbers rand() Pin
David Crow25-Jun-03 7:01
David Crow25-Jun-03 7:01 
GeneralRe: random numbers rand() Pin
johnstonsk25-Jun-03 7:17
johnstonsk25-Jun-03 7:17 

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.