当 i cout holder(is char) 值时,显示一个歧义字母。如何读取字母并保存到数组然后打印它们?
while (holder=fgetc(fileA) != EOF) {
cout << holder;
lenA++;
temp = (char*) realloc(seqA,lenA*sizeof(char));
if (temp != NULL) {
seqA = temp;
seqA[lenA-1] = holder;
}
}