C++ arrays | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

C++ arrays

How can we read from and external file and save it in a fixed size array in C++?

28th Jul 2019, 6:29 PM
sham
2 Answers
0
Include fstream to work with files. make sure file is open create an array use a for loop file >> array
28th Jul 2019, 6:37 PM
James
James - avatar
0
thankyou
28th Jul 2019, 6:49 PM
sham