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

C / C++ / MFC

 
GeneralStupid question Pin
Jonathan [Darka]25-Jun-04 0:30
professionalJonathan [Darka]25-Jun-04 0:30 
GeneralRe: Stupid question Pin
V.25-Jun-04 1:46
professionalV.25-Jun-04 1:46 
GeneralRe: Stupid question Pin
Henry miller25-Jun-04 3:25
Henry miller25-Jun-04 3:25 
GeneralRe: Stupid question Pin
Jonathan [Darka]25-Jun-04 4:22
professionalJonathan [Darka]25-Jun-04 4:22 
GeneralCoUninitialize Problem Pin
ITMan24-Jun-04 22:42
ITMan24-Jun-04 22:42 
QuestionHow to call a dialog box on Help button on a property sheet.? Pin
Rajesh_K_Sharma24-Jun-04 21:17
Rajesh_K_Sharma24-Jun-04 21:17 
AnswerRe: How to call a dialog box on Help button on a property sheet.? Pin
V.24-Jun-04 21:21
professionalV.24-Jun-04 21:21 
AnswerRe: How to call a dialog box on Help button on a property sheet.? Pin
David Crow25-Jun-04 2:33
David Crow25-Jun-04 2:33 
GeneralProblem in release mode Pin
nnvidya24-Jun-04 20:23
nnvidya24-Jun-04 20:23 
GeneralRe: Problem in release mode Pin
David Crow25-Jun-04 2:40
David Crow25-Jun-04 2:40 
GeneralRe: Problem in release mode Pin
nnvidya28-Jun-04 18:43
nnvidya28-Jun-04 18:43 
GeneralRe: Problem in release mode Pin
David Crow29-Jun-04 2:15
David Crow29-Jun-04 2:15 
GeneralRe: Problem in release mode Pin
nnvidya29-Jun-04 20:51
nnvidya29-Jun-04 20:51 
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 

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.