|
-
April 16th, 2012, 11:39 PM
#3
Re: Get Address of Line (Reading Files)
I'm using string class.
ifstream file;
name = 'text.txt';
file.open(name.data());
while(getline(file, lnstr))
{
cout << file.seekg();
}
This is what I was doing, but it keeps spitting out the same number. I want to spit it out line by line what the address is. On another note I'm trying to show it as byte values, specifically in 8bytes.
Last edited by Howdy_McGee; April 16th, 2012 at 11:50 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|