Click here to Skip to main content
15,892,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Which one more efficient? Pin
ThatsAlok12-Jan-09 23:09
ThatsAlok12-Jan-09 23:09 
GeneralRe: Which one more efficient? Pin
CPallini12-Jan-09 23:19
mveCPallini12-Jan-09 23:19 
GeneralRe: Which one more efficient? Pin
SandipG 12-Jan-09 23:56
SandipG 12-Jan-09 23:56 
GeneralRe: Which one more efficient? Pin
CPallini13-Jan-09 0:09
mveCPallini13-Jan-09 0:09 
GeneralRe: Which one more efficient? Pin
Jijo.Raj12-Jan-09 23:19
Jijo.Raj12-Jan-09 23:19 
AnswerRe: Which one more efficient? Pin
«_Superman_»12-Jan-09 22:54
professional«_Superman_»12-Jan-09 22:54 
QuestionHow do you access and change the value of an element in another routine of the program? Pin
dconnell12-Jan-09 17:19
dconnell12-Jan-09 17:19 
AnswerRe: How do you access and change the value of an element in another routine of the program? Pin
Cedric Moonen12-Jan-09 20:45
Cedric Moonen12-Jan-09 20:45 
Please, read the posting guidelines before posting (e.g. use the code tag to format your code properly).


dconnell wrote:
How to access and change the value of an element of a foreign (same program, different routine) array


You can't because the array only exists in the scope of the function. Outside the function it doesn't exist.
However, what you could do is declare this array as a class member of the CAHADlg class. This way, it's lifetime is the same as your class, and you can access it from whatever function of the class.

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

QuestionUsing XOR to decrypt a previously encrypted program and run (Visual Studio and ASM) Pin
BobMMarley12-Jan-09 16:21
BobMMarley12-Jan-09 16:21 
AnswerRe: Using XOR to decrypt a previously encrypted program and run (Visual Studio and ASM) Pin
Randor 12-Jan-09 23:23
professional Randor 12-Jan-09 23:23 
QuestionSpeeding up lookup table performance Pin
D_code_writer12-Jan-09 13:43
D_code_writer12-Jan-09 13:43 
AnswerRe: Speeding up lookup table performance Pin
Stuart Dootson12-Jan-09 14:37
professionalStuart Dootson12-Jan-09 14:37 
AnswerRe: Speeding up lookup table performance Pin
Sarath C12-Jan-09 16:47
Sarath C12-Jan-09 16:47 
GeneralRe: Speeding up lookup table performance Pin
Luc Pattyn12-Jan-09 18:24
sitebuilderLuc Pattyn12-Jan-09 18:24 
QuestionExact size font question Pin
nm_11412-Jan-09 11:55
nm_11412-Jan-09 11:55 
AnswerRe: Exact size font question Pin
Stuart Dootson12-Jan-09 14:40
professionalStuart Dootson12-Jan-09 14:40 
AnswerRe: Exact size font question Pin
Randor 12-Jan-09 23:26
professional Randor 12-Jan-09 23:26 
QuestionResource Compiler Error RC2170 bitmap file filename is not in 3.00 format Pin
Larry Mills Sr12-Jan-09 10:52
Larry Mills Sr12-Jan-09 10:52 
AnswerRe: Resource Compiler Error RC2170 bitmap file filename is not in 3.00 format Pin
Rajasekharan Vengalil12-Jan-09 11:34
Rajasekharan Vengalil12-Jan-09 11:34 
AnswerRe: Resource Compiler Error RC2170 bitmap file filename is not in 3.00 format PinPopular
Nathaniel Hannigan1-Mar-10 14:18
Nathaniel Hannigan1-Mar-10 14:18 
GeneralRe: Resource Compiler Error RC2170 bitmap file filename is not in 3.00 format Pin
Miguel Viana20-Apr-11 7:38
Miguel Viana20-Apr-11 7:38 
QuestionVC++ 2008 Undeclared Identifier Pin
Doktor12-Jan-09 10:21
Doktor12-Jan-09 10:21 
QuestionRe: VC++ 2008 Undeclared Identifier Pin
Mark Salsbery12-Jan-09 10:39
Mark Salsbery12-Jan-09 10:39 
AnswerRe: VC++ 2008 Undeclared Identifier Pin
Doktor12-Jan-09 10:45
Doktor12-Jan-09 10:45 
GeneralRe: VC++ 2008 Undeclared Identifier Pin
Mark Salsbery12-Jan-09 10:49
Mark Salsbery12-Jan-09 10:49 

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.