Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions

Question

Let X have the pdf f(x|0) = 0tx-1e-0x *00 >x>0

Answered: 1 week ago