Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Faster than memcpy()... Pin
BobInNJ21-Nov-08 6:06
BobInNJ21-Nov-08 6:06 
GeneralRe: Faster than memcpy()... Pin
Randor 21-Nov-08 6:21
professional Randor 21-Nov-08 6:21 
AnswerRe: Faster than memcpy()... Pin
cmk20-Nov-08 16:51
cmk20-Nov-08 16:51 
QuestionA Question about Constructors Pin
BobInNJ20-Nov-08 8:17
BobInNJ20-Nov-08 8:17 
AnswerRe: A Question about Constructors Pin
led mike20-Nov-08 8:55
led mike20-Nov-08 8:55 
AnswerRe: A Question about Constructors Pin
Venkata Rama Subbarao20-Nov-08 9:08
Venkata Rama Subbarao20-Nov-08 9:08 
QuestionNeed Help in Read a file at compilation time to initialize variable Pin
scamguru20-Nov-08 7:16
scamguru20-Nov-08 7:16 
AnswerRe: Need Help in Read a file at compilation time to initialize variable Pin
Code-o-mat20-Nov-08 7:28
Code-o-mat20-Nov-08 7:28 
That's an interesting task. I wonder why you would need to do something like that. I can think of generally 2 things. You could try to achieve this with a pre-build step that would open your file, read out the value, then find the corresponding variable initialization in your sorce file, paste the string in it and save the modified source (i guess you would need to write a little proggie to perform this for you). Or how about insterting the file into your project as a custom resource file and then at run time load the file, read its content and then initialize your variable, of course if the content of that file keeps changing during compilation this could prove problematic. Any of these look doable? Maybe give more details about the whole concept for us to think of something.
GeneralRe: Need Help in Read a file at compilation time to initialize variable Pin
scamguru20-Nov-08 7:30
scamguru20-Nov-08 7:30 
GeneralRe: Need Help in Read a file at compilation time to initialize variable Pin
toxcct20-Nov-08 7:38
toxcct20-Nov-08 7:38 
QuestionDefinitive Direct3D example Pin
Jim Crafton20-Nov-08 7:09
Jim Crafton20-Nov-08 7:09 
AnswerRe: Definitive Direct3D example Pin
Code-o-mat20-Nov-08 7:19
Code-o-mat20-Nov-08 7:19 
GeneralRe: Definitive Direct3D example Pin
Jim Crafton20-Nov-08 7:29
Jim Crafton20-Nov-08 7:29 
GeneralRe: Definitive Direct3D example Pin
Code-o-mat20-Nov-08 7:58
Code-o-mat20-Nov-08 7:58 
GeneralRe: Definitive Direct3D example Pin
cmk20-Nov-08 12:39
cmk20-Nov-08 12:39 
QuestionProbem with Directory Settings - Read Only Pin
Larry Mills Sr20-Nov-08 6:47
Larry Mills Sr20-Nov-08 6:47 
AnswerRe: Probem with Directory Settings - Read Only Pin
Venkata Rama Subbarao20-Nov-08 9:18
Venkata Rama Subbarao20-Nov-08 9:18 
QuestionC++ destructor problem Pin
Fred Andres20-Nov-08 4:44
Fred Andres20-Nov-08 4:44 
AnswerRe: C++ destructor problem Pin
Cedric Moonen20-Nov-08 4:57
Cedric Moonen20-Nov-08 4:57 
GeneralRe: C++ destructor problem Pin
Fred Andres20-Nov-08 5:07
Fred Andres20-Nov-08 5:07 
QuestionRe: C++ destructor problem Pin
David Crow20-Nov-08 5:05
David Crow20-Nov-08 5:05 
AnswerRe: C++ destructor problem Pin
Fred Andres20-Nov-08 5:09
Fred Andres20-Nov-08 5:09 
AnswerRe: C++ destructor problem Pin
Roger Stoltz20-Nov-08 5:05
Roger Stoltz20-Nov-08 5:05 
QuestionAbout extracting image blocks Pin
berko300020-Nov-08 4:03
berko300020-Nov-08 4:03 
AnswerRe: Help my code Pin
Iain Clarke, Warrior Programmer20-Nov-08 4:10
Iain Clarke, Warrior Programmer20-Nov-08 4:10 

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.