User profile: SamuelAdams

User info
User name:SamuelAdams
Number of posts:550
Latest posts:

Convert text file containing 0 &1 to binary file
I highly recommend editing your post and use code tags.

zip to city
That is much better, I can read your code now. So what is the question ? If it compiles, runs, give...

Text file data calculations
first you create a counter for each time you multiply. then add a variable to keep up with each time...

How to reverse the values stored in an array?
or If you can use a 2nd array, read the first in reverse.

ifstream file path
Did you try with \\ ? [code]std::ifstream file("C:\\Temp\\temp.txt");[/code]