Click here to Skip to main content
15,557,928 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Error in RtlZeroMemory Pin
Erudite_Eric4-Dec-11 21:59
Erudite_Eric4-Dec-11 21:59 
AnswerRe: Error in RtlZeroMemory Pin
trotwa4-Dec-11 2:25
trotwa4-Dec-11 2:25 
AnswerRe: Error in RtlZeroMemory Pin
Software_Developer4-Dec-11 9:54
Software_Developer4-Dec-11 9:54 
AnswerRe: Error in RtlZeroMemory Pin
Richard Andrew x644-Dec-11 10:30
professionalRichard Andrew x644-Dec-11 10:30 
AnswerRe: Error in RtlZeroMemory Pin
Addy Tas4-Dec-11 11:00
Addy Tas4-Dec-11 11:00 
AnswerRe: Error in RtlZeroMemory Pin
Erudite_Eric4-Dec-11 21:55
Erudite_Eric4-Dec-11 21:55 
AnswerRe: Error in RtlZeroMemory Pin
Erudite_Eric5-Dec-11 7:43
Erudite_Eric5-Dec-11 7:43 
QuestionArray Problem. Pin
janaswamy uday2-Dec-11 18:28
janaswamy uday2-Dec-11 18:28 
Hi all

I am having two Arrays with different Length. I have some elements in both Array's In Ascending Order. Also Note that
this Elements are always in Ascending Order.

Example
-------
char array1[200];
char array2[100];

Now both arrays have some elements

array1[0]= "1";
array1[1]= "1.1";
array1[2]= "2";
array1[3]= "2.1";

array2[0]= "1";
array2[1]= "1.1";
array2[2]= "1.2";
array2[3]= "2";
array2[4]= "3";
array2[5]= "3.1";
array2[6]= "3.2";

Now i have to Arrange this Two Arrays such that.

Array1 Elements should be
-------------------------
array1[0]= "1";
array1[1]= "1.1";
array1[2]= ""; //Empty as element array2 contain element
array1[3]= "2"
array1[4]= "2.1"
array1[5]= "" //Empty as element array2 contain element
array1[6]= ""
array1[7]= ""
Array2 Elements should be
-------------------------
array2[0]= "1"
array2[1]= "1.1"
array2[2]= "1.2"
array2[3]= "2"
array2[4]= "" //Empty as element array1 contain element
array2[5]= "3"
array2[6]= "3.1"
array2[7]= "3.2"
-------------------------


How can i replace a Blank if any one Array Element have no Element at that Index.

Help me out.

Thanks,
Uday.
AnswerRe: Array Problem. Pin
«_Superman_»2-Dec-11 19:22
professional«_Superman_»2-Dec-11 19:22 
AnswerRe: Array Problem. Pin
Richard MacCutchan3-Dec-11 0:14
mveRichard MacCutchan3-Dec-11 0:14 
GeneralRe: Array Problem. Pin
janaswamy uday3-Dec-11 1:18
janaswamy uday3-Dec-11 1:18 
GeneralRe: Array Problem. Pin
Richard MacCutchan3-Dec-11 1:25
mveRichard MacCutchan3-Dec-11 1:25 
AnswerRe: Array Problem. Pin
Addy Tas4-Dec-11 11:08
Addy Tas4-Dec-11 11:08 
Questiongetline Pin
jkirkerx2-Dec-11 12:21
professionaljkirkerx2-Dec-11 12:21 
AnswerRe: getline Pin
Chris Losinger2-Dec-11 12:45
professionalChris Losinger2-Dec-11 12:45 
GeneralRe: getline Pin
jkirkerx2-Dec-11 13:19
professionaljkirkerx2-Dec-11 13:19 
AnswerI'm stuck, not sure which direction to go Pin
jkirkerx2-Dec-11 20:16
professionaljkirkerx2-Dec-11 20:16 
GeneralRe: I'm stuck, not sure which direction to go Pin
Richard MacCutchan3-Dec-11 1:03
mveRichard MacCutchan3-Dec-11 1:03 
GeneralRe: I'm stuck, not sure which direction to go Pin
jkirkerx3-Dec-11 9:00
professionaljkirkerx3-Dec-11 9:00 
GeneralNextline Pin
jkirkerx3-Dec-11 9:26
professionaljkirkerx3-Dec-11 9:26 
GeneralRe: Nextline Pin
Richard MacCutchan3-Dec-11 10:13
mveRichard MacCutchan3-Dec-11 10:13 
Questioni can't load dll builded in debug unicode,what's difference between 'debug' and 'debug unicode'? Pin
Member 77984732-Dec-11 6:06
Member 77984732-Dec-11 6:06 
AnswerRe: i can't load dll builded in debug unicode,what's difference between 'debug' and 'debug unicode'? Pin
JackDingler2-Dec-11 6:19
JackDingler2-Dec-11 6:19 
AnswerRe: i can't load dll builded in debug unicode,what's difference between 'debug' and 'debug unicode'? Pin
Erudite_Eric2-Dec-11 6:44
Erudite_Eric2-Dec-11 6:44 
AnswerRe: i can't load dll builded in debug unicode,what's difference between 'debug' and 'debug unicode'? Pin
Richard MacCutchan2-Dec-11 7:20
mveRichard MacCutchan2-Dec-11 7:20 

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.