Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Checkbox / How do I get the width/height of it? Pin
Sebastian Pipping5-Mar-06 19:23
Sebastian Pipping5-Mar-06 19:23 
QuestionWhat is modal loop? Pin
superSYNC4-Mar-06 18:00
superSYNC4-Mar-06 18:00 
AnswerRe: What is modal loop? Pin
Stephen Hewitt4-Mar-06 19:36
Stephen Hewitt4-Mar-06 19:36 
GeneralHi,Steve Pin
superSYNC4-Mar-06 22:52
superSYNC4-Mar-06 22:52 
QuestionWhat does " Subclassing the window does not work for messages set between processes" mean? Pin
superSYNC4-Mar-06 16:50
superSYNC4-Mar-06 16:50 
AnswerRe: What does " Subclassing the window does not work for messages set between processes" mean? Pin
Stephen Hewitt4-Mar-06 19:40
Stephen Hewitt4-Mar-06 19:40 
AnswerRe: What does " Subclassing the window does not work for messages set between processes" mean? Pin
Gary R. Wheeler5-Mar-06 2:54
Gary R. Wheeler5-Mar-06 2:54 
QuestionSaving File Pin
NPL Solutions4-Mar-06 16:27
NPL Solutions4-Mar-06 16:27 
Hey,
So I'm throwing together a little program that will append another file with just one line of text. Everything seems to run smoothly, except that the program which I want to access the file (Firefox), doesn't recognize the changes.

If I open up notepad, the line has been added, and only once I save the file from inside notepad does Firefox regognize the change.

To write to the file, I'm just using a simple fopen, fwrite combonation. My code is as follows:

FILE *host;<br />
	host = fopen("file", "a");<br />
	fwrite(ipAdd, ipAdd.GetLength(), 1, host);<br />
	fclose(host);


Like I said, everything executes properly, and I can that the line has been appended to the file, it's just that Firefox doesn't regognize it. (Even after restarting Firefox.)

Any suggestions would be greatly appreciated.

Nicky
AnswerRe: Saving File Pin
Michael Dunn5-Mar-06 6:31
sitebuilderMichael Dunn5-Mar-06 6:31 
GeneralRe: Saving File Pin
NPL Solutions5-Mar-06 13:29
NPL Solutions5-Mar-06 13:29 
GeneralRe: Saving File Pin
John R. Shaw5-Mar-06 15:15
John R. Shaw5-Mar-06 15:15 
GeneralRe: Saving File Pin
NPL Solutions6-Mar-06 6:37
NPL Solutions6-Mar-06 6:37 
Questiontype convertion - ulong to uint Pin
Sam 20064-Mar-06 13:21
Sam 20064-Mar-06 13:21 
AnswerRe: type convertion - ulong to uint Pin
Saurabh.Garg4-Mar-06 13:50
Saurabh.Garg4-Mar-06 13:50 
GeneralRe: type convertion - ulong to uint Pin
John R. Shaw4-Mar-06 15:07
John R. Shaw4-Mar-06 15:07 
GeneralRe: type convertion - ulong to uint Pin
Saurabh.Garg4-Mar-06 17:26
Saurabh.Garg4-Mar-06 17:26 
AnswerRe: type convertion - ulong to uint Pin
Stephen Hewitt4-Mar-06 19:47
Stephen Hewitt4-Mar-06 19:47 
GeneralRe: type convertion - ulong to uint Pin
Tim Smith5-Mar-06 8:55
Tim Smith5-Mar-06 8:55 
GeneralRe: type convertion - ulong to uint Pin
Stephen Hewitt5-Mar-06 11:25
Stephen Hewitt5-Mar-06 11:25 
GeneralRe: type convertion - ulong to uint Pin
John R. Shaw5-Mar-06 15:42
John R. Shaw5-Mar-06 15:42 
Questionstd c++ i/o with files Pin
Peter Charlesworth4-Mar-06 8:15
Peter Charlesworth4-Mar-06 8:15 
AnswerRe: std c++ i/o with files Pin
PJ Arends4-Mar-06 11:40
professionalPJ Arends4-Mar-06 11:40 
GeneralRe: std c++ i/o with files Pin
Peter Charlesworth4-Mar-06 11:50
Peter Charlesworth4-Mar-06 11:50 
GeneralRe: std c++ i/o with files Pin
John R. Shaw4-Mar-06 15:22
John R. Shaw4-Mar-06 15:22 
AnswerKerridge Pin
Rob Caldecott5-Mar-06 6:35
Rob Caldecott5-Mar-06 6:35 

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.