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

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

$
0
0
I want to read in a number of string tokens from a file which are in lines much like a excel csf file:-

Eg:

A1,A2,A3,A4
B1,B2,B3,B4,B5
C1,C2,C3,C4,C5,C6. etc .......

The access then like you said

Code:

printf("%s", data[i][j]);
Are all the strings the same length?

Statistics: Posted by ejolson — Sun Feb 04, 2024 1:44 am



Viewing all articles
Browse latest Browse all 8041

Trending Articles