943,563 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 358
  • C RSS
Jan 28th, 2009
0

HELP!!ASAP!!pls..

Expand Post »
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..
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
s-a-n-d-e is offline Offline
6 posts
since Jan 2009
Jan 28th, 2009
0

Re: HELP!!ASAP!!pls..

Your post gave me an adrenaline rush. Honestly!
Reputation Points: 124
Solved Threads: 18
Junior Poster
devnar is offline Offline
148 posts
since Sep 2008
Jan 28th, 2009
0

Re: HELP!!ASAP!!pls..

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??
Reputation Points: 10
Solved Threads: 0
Newbie Poster
s-a-n-d-e is offline Offline
6 posts
since Jan 2009
Jan 28th, 2009
0

Re: HELP!!ASAP!!pls..

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..
Reputation Points: 10
Solved Threads: 0
Newbie Poster
s-a-n-d-e is offline Offline
6 posts
since Jan 2009
Jan 28th, 2009
0

Re: HELP!!ASAP!!pls..

Reputation Points: 124
Solved Threads: 18
Junior Poster
devnar is offline Offline
148 posts
since Sep 2008
Jan 28th, 2009
0

Re: HELP!!ASAP!!pls..

yah..so much
Reputation Points: 10
Solved Threads: 0
Newbie Poster
s-a-n-d-e is offline Offline
6 posts
since Jan 2009
Jan 28th, 2009
0

Re: HELP!!ASAP!!pls..

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?
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: How to measure C execution time
Next Thread in C Forum Timeline: Employee Information System.Problem adding a new department in "dept.txt" file





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC