Click here to Skip to main content
15,923,789 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: fopen() in c++ Pin
lavy28834-Apr-07 5:05
lavy28834-Apr-07 5:05 
GeneralRe: fopen() in c++ Pin
Cedric Moonen4-Apr-07 7:48
Cedric Moonen4-Apr-07 7:48 
AnswerRe: fopen() in c++ Pin
Ranjoy Guha4-Apr-07 5:02
Ranjoy Guha4-Apr-07 5:02 
GeneralRe: fopen() in c++ Pin
lavy28834-Apr-07 5:06
lavy28834-Apr-07 5:06 
GeneralRe: fopen() in c++ Pin
Nemanja Trifunovic4-Apr-07 5:21
Nemanja Trifunovic4-Apr-07 5:21 
GeneralRe: fopen() in c++ Pin
lavy28834-Apr-07 5:51
lavy28834-Apr-07 5:51 
AnswerRe: fopen() in c++ Pin
David Crow4-Apr-07 5:05
David Crow4-Apr-07 5:05 
AnswerRe: fopen() in c++ Pin
dburns4-Apr-07 16:32
dburns4-Apr-07 16:32 
fopen was declared deprecated along with many of the standard C functions. It's replaced by the fopen_s function. In the case of fopen, I think the issue was that it communicated specific error conditions by use of the global errno variable, which isn't thread-safe. That's the only issue I can think of.

VS 2005 is the only compiler I know of that has done this (in fact it may be an MS invention). If portability is a concern, use fopen. Or if laziness is a concern, use fopen in that case too! Smile | :) . There's a preprocessor define that turns off the warnings, and I think that's mentioned in the warning itself.

QuestionWhere is WM_INITDIALOG Pin
DRHuff4-Apr-07 4:49
DRHuff4-Apr-07 4:49 
AnswerRe: Where is WM_INITDIALOG Pin
led mike4-Apr-07 5:00
led mike4-Apr-07 5:00 
GeneralRe: Where is WM_INITDIALOG [modified] Pin
DRHuff4-Apr-07 5:11
DRHuff4-Apr-07 5:11 
AnswerRe: Where is WM_INITDIALOG Pin
Ranjoy Guha4-Apr-07 5:12
Ranjoy Guha4-Apr-07 5:12 
QuestionMacros Pin
koumodaki4-Apr-07 4:31
koumodaki4-Apr-07 4:31 
AnswerRe: Macros Pin
Ravi Bhavnani4-Apr-07 4:38
professionalRavi Bhavnani4-Apr-07 4:38 
GeneralRe: Macros Pin
koumodaki4-Apr-07 4:49
koumodaki4-Apr-07 4:49 
AnswerRe: Macros Pin
Ranjoy Guha4-Apr-07 4:56
Ranjoy Guha4-Apr-07 4:56 
GeneralRe: Macros Pin
koumodaki4-Apr-07 5:34
koumodaki4-Apr-07 5:34 
QuestionCRITICAL_SECTION Question Pin
ScotDolan4-Apr-07 4:09
ScotDolan4-Apr-07 4:09 
AnswerRe: CRITICAL_SECTION Question Pin
Blake Miller4-Apr-07 4:29
Blake Miller4-Apr-07 4:29 
AnswerRe: CRITICAL_SECTION Question Pin
Roger Stoltz4-Apr-07 4:37
Roger Stoltz4-Apr-07 4:37 
QuestionCToolBarCtrl::SetRows Pin
Try4-Apr-07 3:44
Try4-Apr-07 3:44 
AnswerRe: CToolBarCtrl::SetRows Pin
Ravi Bhavnani4-Apr-07 4:41
professionalRavi Bhavnani4-Apr-07 4:41 
GeneralRe: CToolBarCtrl::SetRows Pin
Try4-Apr-07 4:48
Try4-Apr-07 4:48 
AnswerRe: CToolBarCtrl::SetRows Pin
Ranjoy Guha4-Apr-07 4:49
Ranjoy Guha4-Apr-07 4:49 
Question[Urgent]Minimize window clicking task bar button [modified] Pin
ksrameshkanth4-Apr-07 3:44
ksrameshkanth4-Apr-07 3:44 

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.