1 #include <iostream> 2 #include "stdlib.h" 3 using namespace std; 4 5 void Show() 6 { 7 cout<<"CIS 25 – C++ Programming "; 8 cout<<"Laney College "; 9 cout<<"Your Name "; 10 cout<<"Assignment Information -- "; 11 cout<<" Assignment Number: Lab 03, "; 12 cout<<" Coding Assignment -- Exercise #1 "; 13 cout<<" Written by: Your Name "; 14 cout<<" Submitted Date: Due Date "; 15 } 16 17 18 void Calculate() 19 { 20 int size; 21 int tmp; 22 int i,j,k; 23 24 cout << " How many intergers? "; 25 cin >> size; 26 27 int *ptrPtr = new int[20]; 28 29 for (i = 0; i < size; i++) { 30 31 cout << "Enter integer #"<< i + 1 << ": "; 32 cin >> tmp; 33 34 *(ptrPtr + i) = tmp; 35 } 36 37 cout<<" The original array: "; 38 for (j = 0; j < size; j++) 39 cout << " " << *(ptrPtr + j)<<" "; 40 cout<<" Calling extractUncommonDigitYourName() – "; 41 cout<<"Displaying after returning the array -- The uncommon digits: "; 42 43 44 // cout<<size<<endl; 45 char **Total_data =NULL; 46 Total_data = new char*[size]; 47 int* num = new int[10];//every data digital 48 for (i = 0; i < size; i++) { 49 *(Total_data + i) = new char[10]; 50 if(*(ptrPtr + i)<0)*(ptrPtr + i) = -(*(ptrPtr + i));//取相反数 51 _itoa(*(ptrPtr + i), *(Total_data + i), 10); 52 //cout<<*(ptrPtr + i)<<endl; 53 j = 0; 54 for(;*(*(Total_data+i)+j)!='