answersLogoWhite

0


Best Answer

files are just streams of bytes. So IO functions are the way to go. If you want to read an integer from a file, you have to first read it as a string of characters and then convert it. If you are saving data to a file, it might help to use a character as a delimiter. For example, use the comma and the file might look like:

123,45,6,7,23,2456

Then read each character, separating the integers by finding all the commas as you go.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you read integers from files without using formatted and unformatted IO functions?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What as an integers?

Integers are whole numbers without fractions or decimals


What is the definion of integers?

Integers are whole numbers without decimals or fractions.


How do you figure integers?

Integers are whole numbers without decimals or fractions.


What is integers inmath?

Integers are whole numbers without decimals or fractions attached to them


What called integers?

Whole numbers without decimals or fractions are called integers.


How do you format the Nokia mobile without password?

How i can formatted nokia x201 phone


Is integers whole numbers and their opposites?

Integers are whole numbers without decimals or fractions.


How is adding integers similar to adding whole numbers?

Integers include 0, the negative numbers without fractional parts, and the positive numbers without fractional parts. The "without fractional parts" part of the description implies that all of the integers are whole numbers. Therefore, if you are adding integers, you are adding whole numbers.


Why is integers useful?

Integers are whole numbers without decimals or fractions which are useful because calculations are easier to work out.


How do you find the sum of two integers with different signs?

-- write the difference between the integers without regard to their signs -- give the difference the same sign as the larger of the two integers


What does fat allocation mean?

FAT Allocation is called File Allocation Table, it is a way that most USB sticks are formatted. It is used so you can share files with other computers, without a formatted device, it would not function.


What disease or problem encounter without the special functions of the bones?

what disease or problems we encounter without the special functions of the bones