課題の 60 行目でタイトルの問題に直面しています。できるだけ早く助けてください。
59 void storeFile();
60 {
61 cout<< "All the data members are stored in file." << endl;
62
63 ofstream outFile;
64 const char *outputFileName = ("record.txt");
65 outFile.open(outputFileName, ios::out);
66
67 if(!outFile)
68 {
69 cout<< "\nUnable to open the file." << outputFileName << endl;
70 }
71
72 else
73 {
74 outFile VUID; endl;
75 outFile campusID; endl;
76 outFile studentName; endl;
77 outFile fatherName; endl;
78 }
79 };
エラー: 行 60 の '{' トークン c++ の前に unqualified-id が必要です