Help change c++
Help me change c++ #include<stdio.h> #include<stdlib.h> #include<string.h> char cardshuffle(char shuffle[52]) { char item[52]; char temp; int k=0; for (int i=0;i<13;i++) { temp = shuffle[i]; // temp = A, i = 0 for(int j=0;j<52;j++) // i = 0 , j = 1 { if(shuffle[j] == temp) //shuffle[1] = 2 , temp = A { item[k] = shuffle[j]; // item[1] = A , Item = AA k++; } } } for(int a=0;a<52;a++) // show result { if(item[a] == '0') printf("1%c ",item[a]); //item[9] = 10 else printf("%c ",item[a]); if(a == 12 || a==26 || a==38) printf("\n"); } } int main() { char Deck[] = {'A','2','3','4','5','6','7','8','9','10','J','Q','K', 'A','2','3','4','5','6','7','8','9','10','J','Q','K', 'A','2','3','4','5','6','7','8','9','10','J','Q','K', 'A','2','3','4','5','6','7','8','9','10','J','Q','K',}; for(int i=0;i<4;i++) { for(int j=0;j<13;j++) { printf("%c ",Deck[j]); } printf("\n"); } printf("\n"); cardshuffle