Click here to Skip to main content
15,888,079 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General#include dependency reduction Pin
D. Michael Traub10-Jan-04 11:19
D. Michael Traub10-Jan-04 11:19 
GeneralRe: #include dependency reduction Pin
Chris Richardson11-Jan-04 0:03
Chris Richardson11-Jan-04 0:03 
Questionwhat is c++ ?? Pin
Anonymous10-Jan-04 4:22
Anonymous10-Jan-04 4:22 
AnswerRe: what is c++ ?? Pin
Maximilien10-Jan-04 5:07
Maximilien10-Jan-04 5:07 
GeneralRe: what is c++ ?? Pin
Jörgen Sigvardsson10-Jan-04 7:17
Jörgen Sigvardsson10-Jan-04 7:17 
AnswerRe: what is c++ ?? Pin
DaFrawg11-Jan-04 5:54
DaFrawg11-Jan-04 5:54 
AnswerRe: what is c++ ?? Pin
Jijo.Raj11-Jan-04 18:33
Jijo.Raj11-Jan-04 18:33 
QuestionHow can I rename random files? Pin
tadees10-Jan-04 1:43
tadees10-Jan-04 1:43 
I'm trying to write a program that will retrieve a list of file names (under windows) from a folder (e.g - Atually tell me (or the program) what the folder contains).

When it has the list of names, I want the program to copy the respective files to a different folder and then rename them systematically (e.g - 1, 2, 3, 4, 5...etc).

Later on, I want the program to give the copied files the same names as their original files.

(The files will either be (.doc) or (.html))


I've pretty new to programming, and have read about file streams, but have only managed to find out how to work with them when I know the filename beforehand (e.g - "File.open ("Doc1.txt", ios::out);").

I'd be grateful if anyone could help me out with this, or at least give me the title of a book that might explain things.


Hope you can help.


Thanks!
AnswerRe: How can I rename random files? Pin
Antti Keskinen10-Jan-04 2:36
Antti Keskinen10-Jan-04 2:36 
AnswerRe: How can I rename random files? Pin
Ernesto D.10-Jan-04 14:54
Ernesto D.10-Jan-04 14:54 
GeneralNeed Help (detecting file open dialog popup) Pin
Zee man9-Jan-04 22:17
Zee man9-Jan-04 22:17 
GeneralRe: Need Help (detecting file open dialog popup) Pin
Monty210-Jan-04 1:43
Monty210-Jan-04 1:43 
Generalneuronal network Pin
andreas.schaerer9-Jan-04 22:14
andreas.schaerer9-Jan-04 22:14 
GeneralRe: neuronal network Pin
Daniel Turini9-Jan-04 23:13
Daniel Turini9-Jan-04 23:13 
GeneralRe: neuronal network Pin
abc87610-Jan-04 18:36
abc87610-Jan-04 18:36 
GeneralRe: neuronal network Pin
Daniel Turini10-Jan-04 22:23
Daniel Turini10-Jan-04 22:23 
Generalclass member have no valid adress!!please help! Pin
andreas.schaerer9-Jan-04 21:36
andreas.schaerer9-Jan-04 21:36 
GeneralRe: class member have no valid adress!!please help! Pin
valikac10-Jan-04 5:31
valikac10-Jan-04 5:31 
GeneralRe: class member have no valid adress!!please help! Pin
andreas.schaerer10-Jan-04 6:03
andreas.schaerer10-Jan-04 6:03 
GeneralRe: class member have no valid adress!!please help! Pin
valikac10-Jan-04 7:39
valikac10-Jan-04 7:39 
GeneralRe: class member have no valid adress!!please help! Pin
andreas.schaerer10-Jan-04 9:45
andreas.schaerer10-Jan-04 9:45 
GeneralRe: class member have no valid adress!!please help! Pin
Daniel Turini11-Jan-04 2:01
Daniel Turini11-Jan-04 2:01 
GeneralRe: class member have no valid adress!!please help! Pin
DaFrawg11-Jan-04 8:17
DaFrawg11-Jan-04 8:17 
QuestionGetOpenFileName options? Pin
Randy Trulson9-Jan-04 21:02
Randy Trulson9-Jan-04 21:02 
GeneralLooking for an IDE/Editor with source code Pin
Jagadeesh VN9-Jan-04 19:28
Jagadeesh VN9-Jan-04 19:28 

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.