1234567891011121314
for (int i = 0; i < num_genes; i++) { cout << "Reading Gene Description For Gene " << i+1 << "..." << endl; string temp_str; Input >> temp_str; global_genes.push_back(temp_str); cout << global_genes[global_genes.size()-1] << endl; cout << "Reading Phenotypes For Gene " << i+1 << "..." << endl; char temp_charone, temp_chartwo; Input >> temp_charone; Input >> temp_chartwo; global_phenotypes.push_back(Pair_allele(temp_charone,temp_chartwo)); cout << global_phenotypes[global_phenotypes.size()].first << endl; cout << global_phenotypes[global_phenotypes.size()].second << endl; }
error: invalid conversion from 'const char' to 'const char*'
error: invalid conversion from 'char*' to 'char'