Click here to Skip to main content
15,901,284 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: fprint problem Pin
Ivan Cachicatari24-May-05 9:13
Ivan Cachicatari24-May-05 9:13 
GeneralRe: fprint problem Pin
Andrew Admire24-May-05 10:03
Andrew Admire24-May-05 10:03 
GeneralRe: fprint problem Pin
Toby Opferman24-May-05 10:06
Toby Opferman24-May-05 10:06 
GeneralRe: fprint problem Pin
Andrew Admire24-May-05 10:16
Andrew Admire24-May-05 10:16 
GeneralRe: fprint problem Pin
Toby Opferman24-May-05 11:17
Toby Opferman24-May-05 11:17 
GeneralRe: fprint problem Pin
Ivan Cachicatari24-May-05 10:27
Ivan Cachicatari24-May-05 10:27 
GeneralRe: fprint problem Pin
toxcct24-May-05 21:50
toxcct24-May-05 21:50 
GeneralRe: fprint problem Pin
26-May-05 3:41
suss26-May-05 3:41 
One last thing. I was able to create the file larger than 4 Gb. However, I want to be able to read the last line to see where it stopped. This code outputs the whole file but works when the file is less than 4Gb. What's wrong?

If you want me to start another thread let me know.

Thanks,

ifstream inClientFile ("diction.txt", ios::in);
inClientFile.seekg(-10, ios::end);

char w[7];

while (inClientFile>>w)
output(w);

void output(const char * const w)
{
cout<
GeneralRe: fprint problem Pin
toxcct26-May-05 4:22
toxcct26-May-05 4:22 
GeneralRe: fprint problem Pin
Andrew Admire26-May-05 4:29
Andrew Admire26-May-05 4:29 
GeneralSkinned apps in Windows Pin
vanne24-May-05 8:07
vanne24-May-05 8:07 
GeneralRe: Skinned apps in Windows Pin
Tom Archer24-May-05 8:48
Tom Archer24-May-05 8:48 
GeneralRe: Skinned apps in Windows Pin
marstxj17-Aug-05 3:17
marstxj17-Aug-05 3:17 
Generalpc interface with usb Pin
vikas makhija24-May-05 7:47
vikas makhija24-May-05 7:47 
GeneralRe: pc interface with usb Pin
Jaime Olivares25-May-05 11:14
Jaime Olivares25-May-05 11:14 
GeneralSocket Programming Pin
Identity Undisclosed24-May-05 7:39
Identity Undisclosed24-May-05 7:39 
GeneralRe: Socket Programming Pin
Michael Hendrickx24-May-05 8:05
Michael Hendrickx24-May-05 8:05 
GeneralRe: Socket Programming Pin
Identity Undisclosed25-May-05 0:01
Identity Undisclosed25-May-05 0:01 
GeneralRe: Socket Programming Pin
Michael Hendrickx30-May-05 8:57
Michael Hendrickx30-May-05 8:57 
GeneralRe: Socket Programming Pin
Identity Undisclosed30-May-05 9:21
Identity Undisclosed30-May-05 9:21 
GeneralRe: Socket Programming Pin
Michael Hendrickx12-Jun-05 7:35
Michael Hendrickx12-Jun-05 7:35 
Generalin Win32 (SDK)color After Printing getting too much li Pin
chachva24-May-05 5:54
chachva24-May-05 5:54 
Generalvariable problem Pin
Anonymous24-May-05 5:50
Anonymous24-May-05 5:50 
GeneralRe: variable problem Pin
jmkhael24-May-05 6:00
jmkhael24-May-05 6:00 
GeneralRe: variable problem Pin
Anonymous24-May-05 6:13
Anonymous24-May-05 6:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.