Click here to Skip to main content
15,902,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDoubt!!!! Pin
rowdy_vc++27-Jan-08 19:17
rowdy_vc++27-Jan-08 19:17 
GeneralRe: Doubt!!!! Pin
Hamid_RT27-Jan-08 20:50
Hamid_RT27-Jan-08 20:50 
GeneralRe: Doubt!!!! Pin
rowdy_vc++27-Jan-08 22:17
rowdy_vc++27-Jan-08 22:17 
GeneralRe: Doubt!!!! Pin
vijay_aroli27-Jan-08 22:31
vijay_aroli27-Jan-08 22:31 
GeneralRe: Doubt!!!! Pin
Maxwell Chen27-Jan-08 22:36
Maxwell Chen27-Jan-08 22:36 
GeneralRe: Doubt!!!! Pin
vijay_aroli27-Jan-08 22:51
vijay_aroli27-Jan-08 22:51 
GeneralRe: Doubt!!!! Pin
rowdy_vc++27-Jan-08 23:21
rowdy_vc++27-Jan-08 23:21 
GeneralRe: Doubt!!!! Pin
David Crow28-Jan-08 6:21
David Crow28-Jan-08 6:21 
raju.k wrote:
how to create serial no in a file ?


Several ways exist. One such way is:

FILE *pFile = fopen(..., "w");
fprintf(pFile,  "1.\n");
fprintf(pFile,  "%d.\n", 2);
int x = 3;
fprintf(pFile,  "%d.\n", x);
fclose(pFile);


"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


GeneralDrag image on to the explorer Pin
revanth198527-Jan-08 19:07
revanth198527-Jan-08 19:07 
GeneralRe: Drag image on to the explorer Pin
Hamid_RT27-Jan-08 20:49
Hamid_RT27-Jan-08 20:49 
GeneralRe: Drag image on to the explorer [modified] Pin
revanth198527-Jan-08 23:52
revanth198527-Jan-08 23:52 
GeneralUncaught exception Pin
George_George27-Jan-08 19:01
George_George27-Jan-08 19:01 
GeneralRe: Uncaught exception Pin
Maxwell Chen27-Jan-08 19:31
Maxwell Chen27-Jan-08 19:31 
GeneralRe: Uncaught exception Pin
George_George27-Jan-08 19:41
George_George27-Jan-08 19:41 
GeneralRe: Uncaught exception Pin
Maxwell Chen27-Jan-08 20:58
Maxwell Chen27-Jan-08 20:58 
GeneralRe: Uncaught exception Pin
George_George27-Jan-08 21:07
George_George27-Jan-08 21:07 
GeneralRe: Uncaught exception Pin
Maxwell Chen27-Jan-08 21:15
Maxwell Chen27-Jan-08 21:15 
GeneralRe: Uncaught exception Pin
George_George27-Jan-08 21:26
George_George27-Jan-08 21:26 
GeneralRe: Uncaught exception Pin
Maxwell Chen27-Jan-08 21:46
Maxwell Chen27-Jan-08 21:46 
GeneralRe: Uncaught exception Pin
George_George27-Jan-08 22:01
George_George27-Jan-08 22:01 
GeneralRe: Uncaught exception Pin
Maxwell Chen27-Jan-08 22:04
Maxwell Chen27-Jan-08 22:04 
GeneralRe: Uncaught exception Pin
George_George27-Jan-08 22:18
George_George27-Jan-08 22:18 
GeneralRe: Uncaught exception Pin
Maxwell Chen27-Jan-08 22:29
Maxwell Chen27-Jan-08 22:29 
GeneralRe: Uncaught exception Pin
George_George27-Jan-08 22:41
George_George27-Jan-08 22:41 
Generalhelp Pin
gentleguy27-Jan-08 18:04
gentleguy27-Jan-08 18:04 

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.