Click here to Skip to main content
15,917,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalmultithreading Pin
NewYork10-Jan-04 23:46
NewYork10-Jan-04 23:46 
QuestionHow can I display a 3D graph with Nikolai Teofilov program: 3D Graph ActiveX Control? Pin
Anonymous10-Jan-04 22:53
Anonymous10-Jan-04 22:53 
GeneralProgram that networks Pin
nukeler10-Jan-04 18:08
nukeler10-Jan-04 18:08 
GeneralRe: Program that networks Pin
abc87610-Jan-04 18:16
abc87610-Jan-04 18:16 
GeneralRe: Program that networks Pin
valikac11-Jan-04 6:12
valikac11-Jan-04 6:12 
GeneralRe: Program that networks Pin
Jijo.Raj11-Jan-04 18:16
Jijo.Raj11-Jan-04 18:16 
GeneralWarning after importing bitmap Pin
Ernesto D.10-Jan-04 14:16
Ernesto D.10-Jan-04 14:16 
GeneralRe: Warning after importing bitmap Pin
ohadp10-Jan-04 22:50
ohadp10-Jan-04 22:50 
GeneralRe: Warning after importing bitmap Pin
Ernesto D.10-Jan-04 23:33
Ernesto D.10-Jan-04 23:33 
GeneralRe: Warning after importing bitmap Pin
ohadp10-Jan-04 23:38
ohadp10-Jan-04 23:38 
GeneralRe: Warning after importing bitmap Pin
Ernesto D.12-Jan-04 12:04
Ernesto D.12-Jan-04 12:04 
GeneralVC++ - ODBC : can't reach the last records of my file.dbf Pin
Qadddd10-Jan-04 12:54
Qadddd10-Jan-04 12:54 
GeneralRe: VC++ - ODBC : can't reach the last records of my file.dbf Pin
Qadddd11-Jan-04 13:03
Qadddd11-Jan-04 13:03 
General.asm file compilation Pin
Alexander M.,10-Jan-04 11:47
Alexander M.,10-Jan-04 11:47 
GeneralRe: .asm file compilation Pin
ZoogieZork10-Jan-04 12:05
ZoogieZork10-Jan-04 12:05 
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 
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 
I suggest taking a look at this API functions in your MSDN documentation
CopyFile()
MoveFile()
FindFirstFile()
FindNextFile()
FindClose()

you can go thru an entire directory (or even drive)with the Find functions, writte your own file-renaming alogarithm via CString manipulation routines (or just the good old strcat, strcpy, etc), and use MoveFile() and CopyFile() to rename / copy the files.
As a tip, i suggest using a recursive function to do the file ennumeration.

HTH.

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.