Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: 0x8009006 Pin
Randor 27-Nov-08 17:33
professional Randor 27-Nov-08 17:33 
GeneralRe: 0x8009006 Pin
izyani1-Dec-08 16:05
izyani1-Dec-08 16:05 
GeneralRe: 0x8009006 Pin
izyani10-Dec-08 21:25
izyani10-Dec-08 21:25 
Questionfft algorthims in c++ Pin
kamal jit sharma27-Nov-08 8:43
kamal jit sharma27-Nov-08 8:43 
AnswerRe: fft algorthims in c++ Pin
enhzflep27-Nov-08 14:07
enhzflep27-Nov-08 14:07 
GeneralRe: fft algorthims in c++ Pin
CPallini28-Nov-08 0:44
mveCPallini28-Nov-08 0:44 
QuestionBest way of breaking from for loop Pin
vipin_nvk27-Nov-08 4:38
vipin_nvk27-Nov-08 4:38 
AnswerRe: Best way of breaking from for loop Pin
Code-o-mat27-Nov-08 4:49
Code-o-mat27-Nov-08 4:49 
AnswerRe: Best way of breaking from for loop Pin
Roger Stoltz27-Nov-08 4:52
Roger Stoltz27-Nov-08 4:52 
AnswerRe: Best way of breaking from for loop Pin
Paul Conrad27-Nov-08 6:01
professionalPaul Conrad27-Nov-08 6:01 
AnswerRe: Best way of breaking from for loop Pin
CPallini27-Nov-08 7:32
mveCPallini27-Nov-08 7:32 
JokeRe: Best way of breaking from for loop Pin
killabyte28-Nov-08 0:30
killabyte28-Nov-08 0:30 
GeneralRe: Best way of breaking from for loop Pin
CPallini28-Nov-08 0:59
mveCPallini28-Nov-08 0:59 
AnswerRe: Best way of breaking from for loop Pin
sheshidar27-Nov-08 19:31
sheshidar27-Nov-08 19:31 
GeneralRe: Best way of breaking from for loop Pin
CPallini28-Nov-08 0:36
mveCPallini28-Nov-08 0:36 
AnswerRe: Best way of breaking from for loop Pin
Rajesh R Subramanian27-Nov-08 20:37
professionalRajesh R Subramanian27-Nov-08 20:37 
Questionwhat is the "TOUCH" (UNIX) equivalent for windows? Pin
Nandu_77b27-Nov-08 3:13
Nandu_77b27-Nov-08 3:13 
Is there any way to perform "TOUCH" (like TOUCH in UNIX) in windows, with out installing any tools?

From the site : "http://support.microsoft.com/kb/69581, I came to know that we can use COPY command to perform TOUCH like operation. and tried the below command. but I got the error "The system cannot find the file specified."
system ( "/COPY C:/Documents and Settings/ms56106/.tdm/CookieSession_Details.txt /B +");

So please help to fix this. Below are the different options I tried, but no clue.

1) I Have executed the below command from command prompt it works fine.

C:\Documents and Settings\ms56106\.tdm> COPY /B "C:/Documents and Settings/ms56106/.tdm/CookieSession_Details.txt" +
1 file(s) copied.

And if try the same from different folder it fails,

C:\Documents and Settings\ms56106> COPY /B "C:/Documents and Settings/ms56106/.tdm/CookieSession_Details.txt" +
The system cannot find the file specified.
0 file(s) copied.

What should I do to run for a different folder?




2) I want the same command to be used in C++ source, for this I tried the same with system(), but it is not working. Please correct me.

tem = C:/Documents and Settings/ms56106/.tdm/CookieSession_Details.txt
system ( "/COPY tem /B +");


Thanks,
Nandu
AnswerRe: what is the "TOUCH" (UNIX) equivalent for windows? Pin
Randor 27-Nov-08 4:22
professional Randor 27-Nov-08 4:22 
AnswerRe: what is the "TOUCH" (UNIX) equivalent for windows? Pin
Ahmed Charfeddine27-Nov-08 9:32
Ahmed Charfeddine27-Nov-08 9:32 
Questionc++ array list Pin
phokojoe27-Nov-08 3:12
phokojoe27-Nov-08 3:12 
AnswerRe: c++ array list Pin
Maximilien27-Nov-08 3:36
Maximilien27-Nov-08 3:36 
QuestionRe: c++ array list Pin
CPallini27-Nov-08 7:35
mveCPallini27-Nov-08 7:35 
AnswerRe: c++ array list Pin
toxcct27-Nov-08 7:52
toxcct27-Nov-08 7:52 
GeneralRe: c++ array list Pin
CPallini27-Nov-08 8:20
mveCPallini27-Nov-08 8:20 
GeneralRe: c++ array list Pin
Larry Mills Sr28-Nov-08 15:40
Larry Mills Sr28-Nov-08 15:40 

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.