Click here to Skip to main content
15,902,635 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MFC Pin
Alan Balkany20-Apr-12 4:03
Alan Balkany20-Apr-12 4:03 
AnswerRe: MFC Pin
JohnCz25-Apr-12 1:09
JohnCz25-Apr-12 1:09 
GeneralMFC Pin
ITISAG25-Apr-12 4:07
ITISAG25-Apr-12 4:07 
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 
Currently, how do you store the data after the file is read ? in an array of "color constants" ?

could'nt you simply declare an array in the code and fill it ?

for example, we do something like this for color tables:
C#
static colorStruct colorTable[] =
{
    "Black",      RGB( 0, 0, 0 ),
    "Red",        RGB( 255, 0, 0 ),
    "Yellow",     RGB( 255, 255, 0 ) ,
 ...
};

Watched code never compiles.

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 
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 

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.