Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about randomaccessfile

Read more about randomaccessfile

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - randomaccessfile

Why data read from the random access file and print twice of last line of the table on screen ? (Got picture)

can I know why the last line of the table below will print twice? Everything is executed well and just has the problem stated above. The type of file used is a random access file and data written into...
test-img

HOCK WENG

c

file-io

binaryfiles

randomaccessfile

Votes: 0

Answers: 1

Latest Answer

The problem is in program 2. In the section below you assume that your fread will be OK since you are not att the EOF. This is not the case. while(!feof(fptr)) { fread(&toyota, sizeof(struct v...
test-img

Bo R

Can't show the data from the file properly in C program

I faced a little problem right now which is the C program can't print the result on the screen properly. Even the program can write input from the user and print it into Notepad. The type of file used...
test-img

HOCK WENG

c

file-io

binaryfiles

randomaccessfile

Votes: 0

Answers: 1

Latest Answer

The major problem with the implementation is that the vehicledata structure is wrong. Try struct vehicledata { char vnum[100]; int cnum; float f50; float f100; float f200; floa...
test-img

Bo R

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved