* 파일 입출력 예제 소스 {{{~cpp #include #include #include using namespace std; int main() { ifstream fin; fin.open("score3.txt"); string temp; int i=0; float num; // string AP = "A+"; while(fin >> temp) { // cout << temp; i++; if(i==10) { num = atof(temp.c_str()); cout << num; // if(AP==temp) // cout << "에이 뿔이다."<