1.
const char *ciphertext = {'1','2','3'};
cout<<ciphertext<<endl;
error C2440: 'initializing' : cannot convert from 'char' to 'const char *'
2.改正如下
const char ciphertext[] = {'1','2','3'};
cout<<ciphertext<<endl;
1.
const char *ciphertext = {'1','2','3'};
cout<<ciphertext<<endl;
error C2440: 'initializing' : cannot convert from 'char' to 'const char *'
2.改正如下
const char ciphertext[] = {'1','2','3'};
cout<<ciphertext<<endl;