Click here to Skip to main content
15,867,990 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to typedef array of 4 char to be used in map template still getting compile errors Pin
ForNow15-Dec-22 3:33
ForNow15-Dec-22 3:33 
QuestionRe: how to typedef array of 4 char to be used in map template still getting compile errors Pin
CPallini15-Dec-22 3:40
mveCPallini15-Dec-22 3:40 
AnswerRe: how to typedef array of 4 char to be used in map template still getting compile errors Pin
ForNow15-Dec-22 3:51
ForNow15-Dec-22 3:51 
GeneralRe: how to typedef array of 4 char to be used in map template my solution CPallini hope you read this thank you Pin
ForNow15-Dec-22 12:47
ForNow15-Dec-22 12:47 
GeneralRe: how to typedef array of 4 char to be used in map template my solution CPallini hope you read this thank you Pin
CPallini15-Dec-22 20:46
mveCPallini15-Dec-22 20:46 
GeneralRe: how to typedef array of 4 char to be used in map template my solution CPallini hope you read this thank you Pin
ForNow16-Dec-22 2:40
ForNow16-Dec-22 2:40 
GeneralRe: how to typedef array of 4 char to be used in map template my solution CPallini hope you read this thank you Pin
CPallini16-Dec-22 3:00
mveCPallini16-Dec-22 3:00 
GeneralRe: how to typedef array of 4 char to be used in map template my solution CPallini hope you read this thank you Pin
Richard MacCutchan15-Dec-22 21:27
mveRichard MacCutchan15-Dec-22 21:27 
Alternatively you could use a union?
C++
const struct ESDID
{
    union
    {
        char c[4];
        uint32_t i;
    } x;
	bool operator< (const ESDID e) const { return x.i < e.x.i; }
};

GeneralRe: how to typedef array of 4 char to be used in map template my solution CPallini hope you read this thank you Pin
ForNow16-Dec-22 2:41
ForNow16-Dec-22 2:41 
GeneralRe: how to typedef array of 4 char to be used in map template my solution CPallini hope you read this thank you Pin
CPallini16-Dec-22 2:53
mveCPallini16-Dec-22 2:53 
GeneralRe: how to typedef array of 4 char to be used in map template my solution CPallini hope you read this thank you Pin
ForNow16-Dec-22 3:06
ForNow16-Dec-22 3:06 
GeneralRe: how to typedef array of 4 char to be used in map template my solution CPallini hope you read this thank you Pin
CPallini16-Dec-22 3:19
mveCPallini16-Dec-22 3:19 
GeneralRe: how to typedef array of 4 char to be used in map template my solution CPallini hope you read this thank you Pin
ForNow16-Dec-22 3:37
ForNow16-Dec-22 3:37 
GeneralRe: how to typedef array of 4 char to be used in map template my solution CPallini hope you read this thank you Pin
CPallini16-Dec-22 4:38
mveCPallini16-Dec-22 4:38 
GeneralRe: how to typedef array of 4 char to be used in map template my solution CPallini hope you read this thank you Pin
ForNow16-Dec-22 5:11
ForNow16-Dec-22 5:11 
GeneralRe: how to typedef array of 4 char to be used in map template my solution CPallini hope you read this thank you Pin
Richard MacCutchan16-Dec-22 6:26
mveRichard MacCutchan16-Dec-22 6:26 
GeneralRe: how to typedef array of 4 char to be used in map template my solution CPallini hope you read this thank you Pin
CPallini16-Dec-22 6:59
mveCPallini16-Dec-22 6:59 
GeneralRe: how to typedef array of 4 char to be used in map template my solution CPallini hope you read this thank you Pin
ForNow16-Dec-22 7:57
ForNow16-Dec-22 7:57 
QuestionCcmdtarget() assertion and relaise failure Pin
Zouaoui Billel8-Dec-22 9:00
Zouaoui Billel8-Dec-22 9:00 
AnswerRe: Ccmdtarget() assertion and relaise failure Pin
Victor Nijegorodov8-Dec-22 9:43
Victor Nijegorodov8-Dec-22 9:43 
QuestionProper way to put a C++ object inside a struct initialization? Pin
arnold_w5-Dec-22 1:01
arnold_w5-Dec-22 1:01 
AnswerRe: Proper way to put a C++ object inside a struct initialization? Pin
CPallini5-Dec-22 1:15
mveCPallini5-Dec-22 1:15 
GeneralRe: Proper way to put a C++ object inside a struct initialization? Pin
arnold_w5-Dec-22 2:05
arnold_w5-Dec-22 2:05 
GeneralRe: Proper way to put a C++ object inside a struct initialization? Pin
CPallini5-Dec-22 2:54
mveCPallini5-Dec-22 2:54 
GeneralRe: Proper way to put a C++ object inside a struct initialization? Pin
arnold_w5-Dec-22 3:32
arnold_w5-Dec-22 3:32 

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.