I have a question using c++. I an reading from a file called scores that contains the scores for each player. Each row i

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

I have a question using c++. I an reading from a file called scores that contains the scores for each player. Each row i

Post by answerhappygod »

I have a question using c++.
I an reading from a file called scores that contains the scores for each player. Each row in the scores.txt file is for one player. How do I store each row from the file into an array ?
Thank you
I Have A Question Using C I An Reading From A File Called Scores That Contains The Scores For Each Player Each Row I 1
I Have A Question Using C I An Reading From A File Called Scores That Contains The Scores For Each Player Each Row I 1 (39.69 KiB) Viewed 47 times
File Edit ViewGe Project Build Des Test Analyse Help Search Project RN Tools Extensions Window Local Windows Debugger . - 2 Debug 361 Live Share Solution Explore (Global Scepe mand SourcecppX Project using space std; 0.B Souted Server Explore toober of project int main() 1 ependencies stre inscres, Ext*, 10:30); If (in) 10 6 8 7 5 6 10 5 5 7 9 7 5 4 e 1 1 Flere while Cin 1 App cout << endl cores-Notepad File Edit Format View Help 7 9 8 4 0 7 5 4 8 5 4 5 5 10 5 8 10 5 5 7 4 7 5 9 5 4 10 7 7 4 7 6 9 10 5 9 5 10 7 7 7 9 6 9 10 7 10 10 10 9 10 4 6 9 5 7 5 6 7 10 8 6 9 7 6 1e 6 9 5 8 10 9 5 1 e in close(); 1.3 1.2 1.5 1.3 1.6 1.4 1.5 1.4 1.3 1.2 1.6 1.4 1.5 1.6 1.4 7 4 9 1 0 1 0 1 8 4 7 7 5 29 29 2e 22 50 39 37 26 43 23 46 22 45 46 36 29 23 11 31 19 48 21 1 1 0 else cout << "not work1042 Change 1 1 6 8 7 6 7 5 5 7 10 1 0 0 1.3 1.4 1.4 1.5 4 9 6 7 9 10 4 10 9 4 9 1 1 e 100N Normund Out Shower Det The program (4204) Projecta.cwhat exited with code(). In 1 Colt 100% Windows (CRLD UTFO Emers Out Kdy Type here to search Add to Source Control Select Repety 10 PM ENG WW2022
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply