Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC Pin
JohnCz25-Apr-12 4:34
JohnCz25-Apr-12 4:34 
QuestionHow Can I Embed a text file in Code ? Pin
002comp19-Apr-12 2:37
002comp19-Apr-12 2:37 
AnswerRe: How Can I Embed a text file in Code ? Pin
Chris Losinger19-Apr-12 2:47
professionalChris Losinger19-Apr-12 2:47 
AnswerRe: How Can I Embed a text file in Code ? Pin
Chris Meech19-Apr-12 2:49
Chris Meech19-Apr-12 2:49 
QuestionRe: How Can I Embed a text file in Code ? Pin
Maximilien19-Apr-12 2:49
Maximilien19-Apr-12 2:49 
AnswerRe: How Can I Embed a text file in Code ? Pin
Jochen Arndt19-Apr-12 2:52
professionalJochen Arndt19-Apr-12 2:52 
AnswerRe: How Can I Embed a text file in Code ? Pin
Lakamraju Raghuram19-Apr-12 3:01
Lakamraju Raghuram19-Apr-12 3:01 
GeneralRe: How Can I Embed a text file in Code ? Pin
enhzflep19-Apr-12 3:43
enhzflep19-Apr-12 3:43 
That's it!

The only answer that actually answers the question as posed. While the other answers achieve (roughly) the same functionality, this is the only answer I'd be satisfied with if it were my question. Nice work. Thumbs Up | :thumbsup:

What if the text file is 2000 lines long and created by some other program? The other answers will all require more work.
Admittedly the values will be stored as text, rather than binary - a size penalty, though otherwise this would be my preferred approach.

There are pros and cons to each method. Whom are we to assume that we understand the relevance of each of these to the project in question? Let alone give a response that doesn't answer the posed question...
GeneralRe: How Can I Embed a text file in Code ? Pin
Lakamraju Raghuram19-Apr-12 3:52
Lakamraju Raghuram19-Apr-12 3:52 
GeneralRe: How Can I Embed a text file in Code ? Pin
enhzflep19-Apr-12 4:04
enhzflep19-Apr-12 4:04 
GeneralRe: How Can I Embed a text file in Code ? Pin
002comp19-Apr-12 18:21
002comp19-Apr-12 18:21 
GeneralRe: How Can I Embed a text file in Code ? Pin
Iain Clarke, Warrior Programmer20-Apr-12 4:35
Iain Clarke, Warrior Programmer20-Apr-12 4:35 
GeneralRe: How Can I Embed a text file in Code ? Pin
002comp20-Apr-12 0:44
002comp20-Apr-12 0:44 
GeneralRe: How Can I Embed a text file in Code ? Pin
Iain Clarke, Warrior Programmer20-Apr-12 4:37
Iain Clarke, Warrior Programmer20-Apr-12 4:37 
GeneralRe: How Can I Embed a text file in Code ? Pin
002comp22-Apr-12 18:14
002comp22-Apr-12 18:14 
Questionwsprintf in 32 and 64 bit windows. Pin
Johan Bertilsdotter18-Apr-12 22:32
Johan Bertilsdotter18-Apr-12 22:32 
AnswerRe: wsprintf in 32 and 64 bit windows. Pin
Richard MacCutchan18-Apr-12 22:39
mveRichard MacCutchan18-Apr-12 22:39 
AnswerRe: wsprintf in 32 and 64 bit windows. Pin
Lakamraju Raghuram18-Apr-12 23:06
Lakamraju Raghuram18-Apr-12 23:06 
AnswerRe: wsprintf in 32 and 64 bit windows. Pin
Johan Bertilsdotter19-Apr-12 0:46
Johan Bertilsdotter19-Apr-12 0:46 
AnswerRe: wsprintf in 32 and 64 bit windows. Pin
Chris Losinger19-Apr-12 0:58
professionalChris Losinger19-Apr-12 0:58 
GeneralRe: wsprintf in 32 and 64 bit windows. Pin
Johan Bertilsdotter19-Apr-12 1:26
Johan Bertilsdotter19-Apr-12 1:26 
GeneralRe: wsprintf in 32 and 64 bit windows. Pin
Chris Losinger19-Apr-12 1:50
professionalChris Losinger19-Apr-12 1:50 
AnswerRe: wsprintf in 32 and 64 bit windows. Pin
Johan Bertilsdotter19-Apr-12 1:04
Johan Bertilsdotter19-Apr-12 1:04 
GeneralRe: wsprintf in 32 and 64 bit windows. Pin
Richard MacCutchan19-Apr-12 1:36
mveRichard MacCutchan19-Apr-12 1:36 
QuestionDisable User Logoff Pin
softwaremonkey18-Apr-12 6:06
softwaremonkey18-Apr-12 6:06 

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.