Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 11, 2022 07:22 pm GMT

"How to create list from a grid present in a file"

I have a file containing

12
12
0 0 0 1 0 1 0 1 0 1 0 1
1 0 0 1 0 1 0 0 1 0 0 0
1 1 1 1 0 1 0 0 0 0 0 1
1 0 1 0 0 0 0 1 0 0 0 0
0 0 0 0 0 0 1 0 1 0 1 0
1 0 0 1 0 1 0 0 0 1 0 0
1 0 0 0 0 1 0 0 1 0 0 1
0 0 0 0 0 1 0 1 0 1 0 0
0 0 1 0 1 0 1 0 1 0 1 1
0 0 1 0 1 0 1 0 1 0 0 0
0 0 0 0 0 1 0 1 0 0 0 0
0 0 1 0 0 0 0 1 0 1 0 0

I just want to read the grid and store into a dynamic array.
Could anyone please help me this?


Original Link: https://dev.to/yeskamal/how-to-create-list-from-a-grid-present-in-a-file-2cpm

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To