HELP!!ASAP!!pls..

Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jan 2009
Posts: 6
Reputation: s-a-n-d-e is an unknown quantity at this point 
Solved Threads: 0
s-a-n-d-e s-a-n-d-e is offline Offline
Newbie Poster

HELP!!ASAP!!pls..

 
0
  #1
Jan 28th, 2009
i need to merge two arrays..assign them to another array..but in the third array..no similar values shall be printed..i badly need help..
a big big thanks in advance..
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 148
Reputation: devnar will become famous soon enough devnar will become famous soon enough 
Solved Threads: 16
devnar's Avatar
devnar devnar is offline Offline
Junior Poster

Re: HELP!!ASAP!!pls..

 
0
  #2
Jan 28th, 2009
Your post gave me an adrenaline rush. Honestly!
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 6
Reputation: s-a-n-d-e is an unknown quantity at this point 
Solved Threads: 0
s-a-n-d-e s-a-n-d-e is offline Offline
Newbie Poster

Re: HELP!!ASAP!!pls..

 
0
  #3
Jan 28th, 2009
im so sorry about that..
i just need it so badly..in just a few hours i need it for a class..but my logic aren't working in the last few weeks..
can you help me please??
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 6
Reputation: s-a-n-d-e is an unknown quantity at this point 
Solved Threads: 0
s-a-n-d-e s-a-n-d-e is offline Offline
Newbie Poster

Re: HELP!!ASAP!!pls..

 
0
  #4
Jan 28th, 2009
and to be clear..i just need a simple c program..just enough for a 1st year student like me..Ü

#include<stdio.h>
#include<conio.h>

void MERGE(int first[],int second[]);
int array_first[5],array_second[5];
int i,j;

void main()
{
clrscr();
printf("\n\nenter first 5 values:\n");
{for (i=0;i<5;i++)
scanf("%d",&array_first[i]);}

printf("enter second 5 values:\n");
{for (j=0;j<5;j++)
scanf("%d",&array_second[j]);}

printf("first set:");
for (i=0;i<5;i++)
{printf("%d\t",array_first[i]);}

printf("\nsecond set:");
for (j=0;j<5;j++)
{printf("%d\t",array_second[j]);}
MERGE (array_first,array_second);

getch();
}

void MERGE(int first[],int second[])
{?????????????}

and i need these to be sorted..but i'm fine with the sorting..i just need the ones to be sorted..Ü

im sorry for the disturbance..and for the not-so-clear problem i gave you..
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 148
Reputation: devnar will become famous soon enough devnar will become famous soon enough 
Solved Threads: 16
devnar's Avatar
devnar devnar is offline Offline
Junior Poster

Re: HELP!!ASAP!!pls..

 
0
  #5
Jan 28th, 2009
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 6
Reputation: s-a-n-d-e is an unknown quantity at this point 
Solved Threads: 0
s-a-n-d-e s-a-n-d-e is offline Offline
Newbie Poster

Re: HELP!!ASAP!!pls..

 
0
  #6
Jan 28th, 2009
yah..so much
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 751
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: HELP!!ASAP!!pls..

 
0
  #7
Jan 28th, 2009
http://www.catb.org/~esr/faqs/smart-...ns.html#urgent
Not to mention
http://www.daniweb.com/forums/announcement118-3.html

> i just need it so badly..in just a few hours i need it for a class..but my logic aren't working in the last few weeks..
So have you learnt anything about managing your time better, and seeking help in a more timely fashion?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for C
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC