Require help with binary files in Turing.

Computer builds, hardware and software discussion or troubleshooting, including peripherals. Essentially a general place to talk about desktop computers.
Locked
Anonymous

Require help with binary files in Turing.

Post by Anonymous »

Hi guys. We're doing an assignment in Grade 11 Programming class that makes us create a student list for a teacher. This lisst has to let the teacher add students, code name, marks, see the average, and then some. But my problem is that in order to get the data from a .txt file for...say... an array named student (5) then I have to go through students 1-4 to get to 5. I don't even know how to get that but my teacher told me to research binary and random acess files and I was hopeing you guys could tell me how to "get" or "read" from a file as such. Thanks.

Archived topic from Iceteks, old topic ID:4310, old post ID:34741
Locked