#include <cstdlib>
#include <iostream>
using namespace std;
int main()
{
int size1,size2,size,i,k,j;
string *array1,*array2,*array3;
string temp;
Type: Posts; User: yigster
#include <cstdlib>
#include <iostream>
using namespace std;
int main()
{
int size1,size2,size,i,k,j;
string *array1,*array2,*array3;
string temp;
copy and run the program.. it should print soething like this;
array3[0]=1
array3[0]=2
.
.
.
. and so on.. and '-' for the empty parts in array3..
#include <iostream>
using namespace std;
int main()
{
int size1,size2,size,i,k,j;
int *array1,*array2,*array3;
//int array1[size1],array2[size2],array3[size];
So this is what I have so far.. but when I run it says array1.exe has stopped working =) the compiler doesnt give any errors..
#include <iostream>
using namespace std;
int main()
{
yes I know there wont be any empty spaces thats why there will be '-' in the empty slots
negative value ? who said anything about negative numbers? that "-" isnt a minus sign..
Hi,
I am trying to merge two arrays into one while doing this I am trying to sort and remove duplicates..
For example;
int a,a1,b,b1,c,c1,d,d1,e,e1;