Click here to Skip to main content
15,900,641 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionfstream file sharing among mutiple .cpps Pin
anne_rose19-Mar-13 20:55
anne_rose19-Mar-13 20:55 
AnswerRe: fstream file sharing among mutiple .cpps Pin
Richard MacCutchan19-Mar-13 22:54
mveRichard MacCutchan19-Mar-13 22:54 
AnswerRe: fstream file sharing among mutiple .cpps Pin
Stephen Hewitt20-Mar-13 2:24
Stephen Hewitt20-Mar-13 2:24 
AnswerRe: fstream file sharing among mutiple .cpps Pin
jschell20-Mar-13 8:42
jschell20-Mar-13 8:42 
Questiontabcontrols Pin
Patrick G. Spectre19-Mar-13 5:35
Patrick G. Spectre19-Mar-13 5:35 
AnswerRe: tabcontrols Pin
Marco Bertschi19-Mar-13 5:56
protectorMarco Bertschi19-Mar-13 5:56 
GeneralRe: tabcontrols Pin
Patrick G. Spectre19-Mar-13 6:07
Patrick G. Spectre19-Mar-13 6:07 
GeneralRe: tabcontrols Pin
Marco Bertschi19-Mar-13 6:09
protectorMarco Bertschi19-Mar-13 6:09 
GeneralRe: tabcontrols Pin
Patrick G. Spectre19-Mar-13 6:12
Patrick G. Spectre19-Mar-13 6:12 
GeneralRe: tabcontrols Pin
Marco Bertschi19-Mar-13 6:14
protectorMarco Bertschi19-Mar-13 6:14 
GeneralRe: tabcontrols Pin
Patrick G. Spectre19-Mar-13 6:20
Patrick G. Spectre19-Mar-13 6:20 
GeneralRe: tabcontrols Pin
Marco Bertschi19-Mar-13 6:24
protectorMarco Bertschi19-Mar-13 6:24 
GeneralRe: tabcontrols Pin
Patrick G. Spectre19-Mar-13 6:31
Patrick G. Spectre19-Mar-13 6:31 
GeneralRe: tabcontrols Pin
Marco Bertschi19-Mar-13 6:44
protectorMarco Bertschi19-Mar-13 6:44 
QuestionRe: tabcontrols Pin
David Crow19-Mar-13 9:48
David Crow19-Mar-13 9:48 
QuestionIs there a syslog library for native C++ which runs under Windows? Pin
Marco Bertschi18-Mar-13 22:14
protectorMarco Bertschi18-Mar-13 22:14 
AnswerRe: Is there a syslog library for native C++ which runs under Windows? Pin
pasztorpisti19-Mar-13 2:02
pasztorpisti19-Mar-13 2:02 
GeneralRe: Is there a syslog library for native C++ which runs under Windows? Pin
Marco Bertschi19-Mar-13 5:15
protectorMarco Bertschi19-Mar-13 5:15 
GeneralRe: Is there a syslog library for native C++ which runs under Windows? Pin
pasztorpisti19-Mar-13 12:43
pasztorpisti19-Mar-13 12:43 
AnswerRe: Is there a syslog library for native C++ which runs under Windows? Pin
Albert Holguin19-Mar-13 5:19
professionalAlbert Holguin19-Mar-13 5:19 
GeneralRe: Is there a syslog library for native C++ which runs under Windows? Pin
Marco Bertschi19-Mar-13 5:46
protectorMarco Bertschi19-Mar-13 5:46 
GeneralRe: Is there a syslog library for native C++ which runs under Windows? Pin
Albert Holguin19-Mar-13 6:31
professionalAlbert Holguin19-Mar-13 6:31 
Questiontellg() returning -1 at the end of file Pin
Meer Sadaf Naeem18-Mar-13 17:57
Meer Sadaf Naeem18-Mar-13 17:57 
hello
i am trying to write a program that counts the no. of records in a file by placing the get pointer at the end of file and using tellg() function to get the pointer position and dividing the no. of bytes with the size of one record to get the no. of total records

but when i write
file.seekg(0,ios::end);
and then inquire the position of get pointer
file.tellg();
the result that i am getting is -1.
please tell me what am i doing wrong?
AnswerRe: tellg() returning -1 at the end of file Pin
Richard MacCutchan18-Mar-13 23:24
mveRichard MacCutchan18-Mar-13 23:24 
QuestionRe: tellg() returning -1 at the end of file Pin
David Crow19-Mar-13 3:02
David Crow19-Mar-13 3:02 

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.