Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5755

C/C++ • Re: Two-dimensional array of character strings in C

$
0
0
Don't forget, you can also treat the file on disk as an "array". Given the row and column index you could read the file and discard everything until you reach the desired element.

It will be relatively slow, but doesn't need a lot of memory. Really depends on what constraints you are working with.

You can use another language if you like, but as ejolson says, you often don't get a choice.

Statistics: Posted by ame — Wed Feb 07, 2024 10:51 pm



Viewing all articles
Browse latest Browse all 5755

Trending Articles