Anyone got anything about reading a sequential number from text file per line and parsing it to an array in C?

SequentialNumber.txt
12 3 45 6 7 8
3 5 6 7
7 0 -1 4 5

array1[] = {12, 3, 45, 6, 7, 8};
array2[] = {3, 5, 6, 7};
array3[] = {7, 0, -1, 4, 5};

i've been through several ways to read it, but the only matter is only when i want to separate it by its line.
Thank you.

How about showing us what you have done so far? That would at least give people on this forum a good starting point as to how your problem could be resolved. It would also give us some indication as to your level of knowledge in C in general.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.