Click here to Skip to main content
15,915,164 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalclose initial blank window Pin
emagadmin24-May-05 10:50
emagadmin24-May-05 10:50 
GeneralRe: close initial blank window Pin
Ravi Bhavnani24-May-05 11:32
professionalRavi Bhavnani24-May-05 11:32 
GeneralRe: close initial blank window Pin
Priyank Bolia25-May-05 0:01
Priyank Bolia25-May-05 0:01 
QuestionWhy does my SetDIBColorTable fail ? Pin
ninck24-May-05 10:28
ninck24-May-05 10:28 
AnswerRe: Why does my SetDIBColorTable fail ? Pin
bmzhao24-May-05 15:00
bmzhao24-May-05 15:00 
GeneralRe: Why does my SetDIBColorTable fail ? Pin
ninck24-May-05 20:32
ninck24-May-05 20:32 
Generalfprint problem Pin
Andrew Admire24-May-05 8:21
Andrew Admire24-May-05 8:21 
GeneralRe: fprint problem Pin
David Crow24-May-05 8:34
David Crow24-May-05 8:34 
GeneralRe: fprint problem Pin
Andrew Admire24-May-05 8:39
Andrew Admire24-May-05 8:39 
GeneralRe: fprint problem Pin
David Crow24-May-05 9:19
David Crow24-May-05 9:19 
GeneralRe: fprint problem Pin
Ivan Cachicatari24-May-05 8:40
Ivan Cachicatari24-May-05 8:40 
GeneralRe: fprint problem Pin
Andrew Admire24-May-05 8:50
Andrew Admire24-May-05 8:50 
GeneralRe: fprint problem Pin
Toby Opferman24-May-05 9:09
Toby Opferman24-May-05 9:09 
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 

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.