Click here to Skip to main content
15,880,651 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
QuestionAn Invalid Exception Handler Routine Has Been Detected Pin
Richard Andrew x6418-Mar-13 4:03
professionalRichard Andrew x6418-Mar-13 4:03 
AnswerRe: An Invalid Exception Handler Routine Has Been Detected Pin
Stephen Hewitt18-Mar-13 4:46
Stephen Hewitt18-Mar-13 4:46 
GeneralRe: An Invalid Exception Handler Routine Has Been Detected Pin
Richard Andrew x6418-Mar-13 11:57
professionalRichard Andrew x6418-Mar-13 11:57 
QuestionHow to set values in CPageSetupDialog? Pin
Le@rner17-Mar-13 21:32
Le@rner17-Mar-13 21:32 
AnswerRe: How to set values in CPageSetupDialog? Pin
Richard MacCutchan17-Mar-13 22:10
mveRichard MacCutchan17-Mar-13 22:10 
GeneralRe: How to set values in CPageSetupDialog? Pin
Le@rner17-Mar-13 22:41
Le@rner17-Mar-13 22:41 
GeneralRe: How to set values in CPageSetupDialog? Pin
Richard MacCutchan17-Mar-13 23:48
mveRichard MacCutchan17-Mar-13 23:48 
AnswerRe: How to set values in CPageSetupDialog? Pin
Coder Block18-Mar-13 2:55
Coder Block18-Mar-13 2:55 
GeneralRe: How to set values in CPageSetupDialog? Pin
Le@rner19-Mar-13 2:45
Le@rner19-Mar-13 2:45 
AnswerRe: How to set values in CPageSetupDialog? Pin
David Crow19-Mar-13 3:05
David Crow19-Mar-13 3:05 
GeneralRe: How to set values in CPageSetupDialog? Pin
Coder Block24-Mar-13 23:10
Coder Block24-Mar-13 23:10 
QuestionLocating a function address with the debugger Pin
Richard Andrew x6417-Mar-13 11:37
professionalRichard Andrew x6417-Mar-13 11:37 
AnswerRe: Locating a function address with the debugger Pin
pasztorpisti17-Mar-13 14:28
pasztorpisti17-Mar-13 14:28 
GeneralRe: Locating a function address with the debugger Pin
Richard Andrew x6417-Mar-13 16:47
professionalRichard Andrew x6417-Mar-13 16:47 
AnswerRe: Locating a function address with the debugger Pin
Stephen Hewitt17-Mar-13 16:42
Stephen Hewitt17-Mar-13 16:42 

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.