Click here to Skip to main content
15,913,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Error in RtlZeroMemory Pin
Software_Developer4-Dec-11 8:54
Software_Developer4-Dec-11 8:54 
AnswerRe: Error in RtlZeroMemory Pin
Richard Andrew x644-Dec-11 9:30
professionalRichard Andrew x644-Dec-11 9:30 
AnswerRe: Error in RtlZeroMemory Pin
Addy Tas4-Dec-11 10:00
Addy Tas4-Dec-11 10:00 
AnswerRe: Error in RtlZeroMemory Pin
Erudite_Eric4-Dec-11 20:55
Erudite_Eric4-Dec-11 20:55 
AnswerRe: Error in RtlZeroMemory Pin
Erudite_Eric5-Dec-11 6:43
Erudite_Eric5-Dec-11 6:43 
QuestionArray Problem. Pin
janaswamy uday2-Dec-11 17:28
janaswamy uday2-Dec-11 17:28 
AnswerRe: Array Problem. Pin
«_Superman_»2-Dec-11 18:22
professional«_Superman_»2-Dec-11 18:22 
AnswerRe: Array Problem. Pin
Richard MacCutchan2-Dec-11 23:14
mveRichard MacCutchan2-Dec-11 23:14 
The first thing you need to fix is your definitions of the arrays. You have defined both arrays as char and are then saying that each element holds a pointer to a string so your definition needs to be char*. To get the results you want, you first need to sort both arrays in order. Next create a third array (array3) containing all the elements of each array, but only 1 copy of duplicate elements (i.e. a merge of array1 and array2). Now iterate the elements of array3 and put empty strings in any elements which do not exist in array1. Repeat this process for array2 and you should end up with array3 and array4 containing what you want. There is most likely a simpler way to do this but I can't think of one off the top of my head.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman



GeneralRe: Array Problem. Pin
janaswamy uday3-Dec-11 0:18
janaswamy uday3-Dec-11 0:18 
GeneralRe: Array Problem. Pin
Richard MacCutchan3-Dec-11 0:25
mveRichard MacCutchan3-Dec-11 0:25 
AnswerRe: Array Problem. Pin
Addy Tas4-Dec-11 10:08
Addy Tas4-Dec-11 10:08 
Questiongetline Pin
jkirkerx2-Dec-11 11:21
professionaljkirkerx2-Dec-11 11:21 
AnswerRe: getline Pin
Chris Losinger2-Dec-11 11:45
professionalChris Losinger2-Dec-11 11:45 
GeneralRe: getline Pin
jkirkerx2-Dec-11 12:19
professionaljkirkerx2-Dec-11 12:19 
AnswerI'm stuck, not sure which direction to go Pin
jkirkerx2-Dec-11 19:16
professionaljkirkerx2-Dec-11 19:16 
GeneralRe: I'm stuck, not sure which direction to go Pin
Richard MacCutchan3-Dec-11 0:03
mveRichard MacCutchan3-Dec-11 0:03 
GeneralRe: I'm stuck, not sure which direction to go Pin
jkirkerx3-Dec-11 8:00
professionaljkirkerx3-Dec-11 8:00 
GeneralNextline Pin
jkirkerx3-Dec-11 8:26
professionaljkirkerx3-Dec-11 8:26 
GeneralRe: Nextline Pin
Richard MacCutchan3-Dec-11 9:13
mveRichard MacCutchan3-Dec-11 9:13 
Questioni can't load dll builded in debug unicode,what's difference between 'debug' and 'debug unicode'? Pin
Member 77984732-Dec-11 5:06
Member 77984732-Dec-11 5:06 
AnswerRe: i can't load dll builded in debug unicode,what's difference between 'debug' and 'debug unicode'? Pin
JackDingler2-Dec-11 5:19
JackDingler2-Dec-11 5:19 
AnswerRe: i can't load dll builded in debug unicode,what's difference between 'debug' and 'debug unicode'? Pin
Erudite_Eric2-Dec-11 5:44
Erudite_Eric2-Dec-11 5:44 
AnswerRe: i can't load dll builded in debug unicode,what's difference between 'debug' and 'debug unicode'? Pin
Richard MacCutchan2-Dec-11 6:20
mveRichard MacCutchan2-Dec-11 6:20 
Questionclass object as parameter of Template Function Pin
002comp2-Dec-11 0:29
002comp2-Dec-11 0:29 
QuestionRe: class object as parameter of Template Function Pin
CPallini2-Dec-11 0:43
mveCPallini2-Dec-11 0:43 

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.