if you just want to print it rammed together, you can do that:
for(int x = 0; x < inputnum; x++)
cout<<array[x];
cout << endl;
if you want to actually cook up the value from pieces, its a little more complex.
the easy thing to do would be to cram the array elements into a string and then convert the string back to an integer. For that you need some form of atoi and stringstream.