Click here to Skip to main content
15,899,937 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem in release mode Pin
David Crow30-Jun-04 2:34
David Crow30-Jun-04 2:34 
GeneralRe: Problem in release mode Pin
nnvidya30-Jun-04 19:16
nnvidya30-Jun-04 19:16 
GeneralRe: Problem in release mode Pin
nnvidya30-Jun-04 19:18
nnvidya30-Jun-04 19:18 
GeneralRe: Problem in release mode Pin
David Crow1-Jul-04 2:12
David Crow1-Jul-04 2:12 
GeneralRe: Problem in release mode Pin
nnvidya1-Jul-04 19:06
nnvidya1-Jul-04 19:06 
GeneralRe: Problem in release mode Pin
David Crow2-Jul-04 2:52
David Crow2-Jul-04 2:52 
GeneralRe: Problem in release mode Pin
Johan Rosengren25-Jun-04 2:52
Johan Rosengren25-Jun-04 2:52 
GeneralC++ lookup table implementation Pin
Indrawati24-Jun-04 20:13
Indrawati24-Jun-04 20:13 
Hi
As an optimization for my app, I plan to incorporate some lookup tables into my class for functions such as since, power-of, etc. I have some questions though regarding how I can accomplish this:
1. Since the lookup table will clearly be shared among all objects of that class, where's the best way to place the lookup tables? I am thinking of defining them as static private members. This means that the lookup table will be initiated once during the first instantiation of the class and not during subsequent instantiation, doesn't it? Or is there some better place to put the lookup tables?
2. I am wondering though, will lookup table provide performance improvement over ordinary calculation for simple arithmetic such as power of two?

Thanks!
GeneralRe: C++ lookup table implementation Pin
wb24-Jun-04 23:22
wb24-Jun-04 23:22 
GeneralRe: C++ lookup table implementation Pin
Henry miller25-Jun-04 3:36
Henry miller25-Jun-04 3:36 
GeneralMS office List view activex ctrl Pin
LasVegasGuy24-Jun-04 19:31
LasVegasGuy24-Jun-04 19:31 
Questionmore than one Toolbar in MFC document??? Pin
Balkoth24-Jun-04 17:04
Balkoth24-Jun-04 17:04 
AnswerRe: more than one Toolbar in MFC document??? Pin
Anthony_Yio24-Jun-04 20:36
Anthony_Yio24-Jun-04 20:36 
Questionhow can i get the modificationof the dialog? Pin
Lido Paul24-Jun-04 16:56
Lido Paul24-Jun-04 16:56 
AnswerRe: how can i get the modificationof the dialog? Pin
PJ Arends24-Jun-04 18:03
professionalPJ Arends24-Jun-04 18:03 
Questionhow do i acces an edit box's member functions? Pin
cadejohx24-Jun-04 16:49
cadejohx24-Jun-04 16:49 
AnswerRe: how do i acces an edit box's member functions? Pin
Ryan Binns24-Jun-04 18:07
Ryan Binns24-Jun-04 18:07 
GeneralRe: how do i acces an edit box's member functions? Pin
cadejohx24-Jun-04 19:05
cadejohx24-Jun-04 19:05 
GeneralRe: how do i acces an edit box's member functions? Pin
PJ Arends24-Jun-04 20:09
professionalPJ Arends24-Jun-04 20:09 
AnswerRe: how do i acces an edit box's member functions? Pin
David Crow25-Jun-04 4:04
David Crow25-Jun-04 4:04 
Generalabout font in a dialog Pin
yingkou24-Jun-04 15:56
yingkou24-Jun-04 15:56 
GeneralRe: about font in a dialog Pin
Anthony_Yio24-Jun-04 20:15
Anthony_Yio24-Jun-04 20:15 
Questionhow to realize after my login dialog end and follow a image coming out for a while? Pin
vividtang24-Jun-04 12:31
vividtang24-Jun-04 12:31 
AnswerRe: how to realize after my login dialog end and follow a image coming out for a while? Pin
Anthony_Yio24-Jun-04 20:22
Anthony_Yio24-Jun-04 20:22 
Questionif i do not write special class to realize hyperlink,is there a more simpler way to solve it? Pin
vividtang24-Jun-04 12:27
vividtang24-Jun-04 12:27 

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.