Click here to Skip to main content
15,904,653 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to open a file and write some data into it ? Pin
CPallini22-Oct-08 5:07
mveCPallini22-Oct-08 5:07 
GeneralRe: How to open a file and write some data into it ? Pin
David Crow22-Oct-08 5:13
David Crow22-Oct-08 5:13 
GeneralRe: How to open a file and write some data into it ? Pin
CPallini22-Oct-08 8:47
mveCPallini22-Oct-08 8:47 
GeneralSorry - How to open a file and write some data into it ? Pin
kapardhi22-Oct-08 18:30
kapardhi22-Oct-08 18:30 
GeneralRe: Sorry - How to open a file and write some data into it ? Pin
CPallini22-Oct-08 21:59
mveCPallini22-Oct-08 21:59 
QuestionRe: How to open a file and write some data into it ? Pin
CPallini22-Oct-08 3:31
mveCPallini22-Oct-08 3:31 
AnswerRe: How to open a file and write some data into it ? Pin
kapardhi22-Oct-08 3:34
kapardhi22-Oct-08 3:34 
QuestionRe: How to open a file and write some data into it ? Pin
CPallini22-Oct-08 5:04
mveCPallini22-Oct-08 5:04 
kapardhi wrote:
this"\\" implies any string before "\\" is path, and string after "\\" is the name of the file to be created

The above is wrong.

Anyway the pathname is valid, I was wrong about.
That's said, your code snippet is a bit naïf (euphemism), why are you assigning a FILE pointer to
a CFile * variable?

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

QuestionHow to read the DLL Functionality Pin
mathy22-Oct-08 2:42
mathy22-Oct-08 2:42 
AnswerRe: How to read the DLL Functionality Pin
CPallini22-Oct-08 2:49
mveCPallini22-Oct-08 2:49 
AnswerRe: How to read the DLL Functionality Pin
Cedric Moonen22-Oct-08 3:20
Cedric Moonen22-Oct-08 3:20 
QuestionRe: How to read the DLL Functionality Pin
mathy22-Oct-08 23:28
mathy22-Oct-08 23:28 
AnswerRe: How to read the DLL Functionality Pin
Cedric Moonen22-Oct-08 23:34
Cedric Moonen22-Oct-08 23:34 
JokeRe: How to read the DLL Functionality Pin
sashoalm23-Oct-08 2:23
sashoalm23-Oct-08 2:23 
QuestionHow to check if microphone connect to the machine in run time ? Pin
Yanshof22-Oct-08 2:04
Yanshof22-Oct-08 2:04 
JokeRe: How to check if microphone connect to the machine in run time ? [modified] Pin
CPallini22-Oct-08 2:05
mveCPallini22-Oct-08 2:05 
JokeRe: How to check if microphone connect to the machine in run time ? Pin
Mark Salsbery22-Oct-08 5:38
Mark Salsbery22-Oct-08 5:38 
AnswerRe: How to check if microphone connect to the machine in run time ? Pin
Mark Salsbery22-Oct-08 5:41
Mark Salsbery22-Oct-08 5:41 
GeneralRe: How to check if microphone connect to the machine in run time ? Pin
EmoBemo12-Oct-09 23:43
EmoBemo12-Oct-09 23:43 
GeneralRe: How to check if microphone connect to the machine in run time ? Pin
Mark Salsbery13-Oct-09 5:59
Mark Salsbery13-Oct-09 5:59 
QuestionHow to check if microphone connect to the machine in run yime ? Pin
Yanshof22-Oct-08 2:04
Yanshof22-Oct-08 2:04 
QuestionGetDirectory? Pin
Member 422782622-Oct-08 2:00
Member 422782622-Oct-08 2:00 
AnswerRe: GetDirectory? Pin
CPallini22-Oct-08 2:16
mveCPallini22-Oct-08 2:16 
AnswerRe: GetDirectory? Pin
David Crow22-Oct-08 3:19
David Crow22-Oct-08 3:19 
AnswerRe: GetDirectory? Pin
Sandeep Saini SRE22-Oct-08 18:16
Sandeep Saini SRE22-Oct-08 18:16 

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.