Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I have a text file like below format. How to read that in to multi dimensional arrays in C using fscanf. need to read it
I have a text file like below format. How to read that in to multi dimensional arrays in C using fscanf.
need to read it into 4 two dimensional arrays. delimiter is |
First array is three dimensional char array, other 3 are two dimensional int arrays
player1,Center|88in,75kg|8,6,0,0,5,4|5,3,0,3,1,3 player1,Guard|183cm,170lbs|12,8,3,0,2,0|1,5,1,0,1,2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started