Click here to Skip to main content
15,899,937 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: shortkeys Pin
David Crow6-Dec-04 2:35
David Crow6-Dec-04 2:35 
GeneralRe: shortkeys Pin
V.6-Dec-04 2:41
professionalV.6-Dec-04 2:41 
GeneralRe: shortkeys Pin
BlackDice6-Dec-04 2:47
BlackDice6-Dec-04 2:47 
GeneralRe: shortkeys Pin
V.6-Dec-04 3:28
professionalV.6-Dec-04 3:28 
GeneralRe: shortkeys Pin
V.6-Dec-04 3:29
professionalV.6-Dec-04 3:29 
GeneralCustom control in VC++ Pin
johnny__XP6-Dec-04 2:17
johnny__XP6-Dec-04 2:17 
GeneralProgram wont write to file Pin
CNewbie6-Dec-04 0:43
CNewbie6-Dec-04 0:43 
GeneralRe: Program wont write to file Pin
Sujan Christo6-Dec-04 1:54
Sujan Christo6-Dec-04 1:54 
Hi,
I took tried ur code. Seems that fstream is havin some prob. I tried with a different stream for writing after closing the current stream and it worked !. ie added the following code after stream.close();
fstream stream2("database.txt", ios::in | ios::out|ios::app );
stream2 << current << endl;
stream2.close();

This means that the first stream is having some problem
Sujan
GeneralRe: Program wont write to file Pin
CNewbie6-Dec-04 7:42
CNewbie6-Dec-04 7:42 
GeneralRe: Program wont write to file Pin
David Crow6-Dec-04 2:30
David Crow6-Dec-04 2:30 
Generalline numbers in an editor application Pin
SVPG6-Dec-04 0:40
SVPG6-Dec-04 0:40 
Generaltransmitfile Pin
yingkou6-Dec-04 0:06
yingkou6-Dec-04 0:06 
GeneralRe: transmitfile Pin
David Crow6-Dec-04 2:33
David Crow6-Dec-04 2:33 
GeneralRe: transmitfile Pin
yingkou6-Dec-04 12:35
yingkou6-Dec-04 12:35 
GeneralRe: transmitfile Pin
David Crow7-Dec-04 2:21
David Crow7-Dec-04 2:21 
GeneralRe: transmitfile Pin
yingkou7-Dec-04 13:44
yingkou7-Dec-04 13:44 
GeneralUI Style Pin
Alberto Bencivenni5-Dec-04 23:34
Alberto Bencivenni5-Dec-04 23:34 
GeneralRe: UI Style Pin
Sujan Christo6-Dec-04 1:15
Sujan Christo6-Dec-04 1:15 
GeneralRe: UI Style Pin
Alberto Bencivenni6-Dec-04 10:22
Alberto Bencivenni6-Dec-04 10:22 
GeneralRe: UI Style Pin
David Crow6-Dec-04 2:38
David Crow6-Dec-04 2:38 
GeneralRe: UI Style Pin
Alberto Bencivenni6-Dec-04 10:21
Alberto Bencivenni6-Dec-04 10:21 
GeneralRe: UI Style Pin
Peter Weyzen6-Dec-04 11:57
Peter Weyzen6-Dec-04 11:57 
GeneralRe: UI Style Pin
Alberto Bencivenni7-Dec-04 3:13
Alberto Bencivenni7-Dec-04 3:13 
GeneralRe: UI Style Pin
Peter Weyzen7-Dec-04 6:49
Peter Weyzen7-Dec-04 6:49 
GeneralRe: UI Style Pin
David Crow7-Dec-04 2:36
David Crow7-Dec-04 2:36 

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.