Click here to Skip to main content
12,505,104 members (59,328 online)

C / C++ / MFC

 
GeneralRe: Inability to edit .rc files Pin
Anthony Appleyard26-Feb-13 6:39
memberAnthony Appleyard26-Feb-13 6:39 
QuestionUser privileges stopping a program from rename(,)'ing files Pin
Anthony Appleyard20-Jan-13 18:51
memberAnthony Appleyard20-Jan-13 18:51 
AnswerRe: User privileges stopping a program from rename(,)'ing files Pin
Super Lloyd20-Jan-13 19:52
memberSuper Lloyd20-Jan-13 19:52 
GeneralBUG FOUND Pin
Anthony Appleyard21-Jan-13 0:03
memberAnthony Appleyard21-Jan-13 0:03 
GeneralRe: BUG FOUND Pin
Super Lloyd21-Jan-13 0:57
memberSuper Lloyd21-Jan-13 0:57 
QuestionA pointer reference as l-value Pin
George Nistor20-Jan-13 2:07
memberGeorge Nistor20-Jan-13 2:07 
AnswerRe: A pointer reference as l-value Pin
Maximilien20-Jan-13 3:18
memberMaximilien20-Jan-13 3:18 
AnswerRe: A pointer reference as l-value Pin
Richard MacCutchan20-Jan-13 3:56
mvpRichard MacCutchan20-Jan-13 3:56 
GeneralRe: A pointer reference as l-value Pin
George Nistor20-Jan-13 4:02
memberGeorge Nistor20-Jan-13 4:02 
GeneralRe: A pointer reference as l-value Pin
Richard MacCutchan20-Jan-13 4:11
mvpRichard MacCutchan20-Jan-13 4:11 
GeneralRe: A pointer reference as l-value Pin
Freak3021-Jan-13 4:43
memberFreak3021-Jan-13 4:43 
GeneralRe: A pointer reference as l-value Pin
George Nistor21-Jan-13 5:37
memberGeorge Nistor21-Jan-13 5:37 
GeneralRe: A pointer reference as l-value Pin
Freak3021-Jan-13 22:08
memberFreak3021-Jan-13 22:08 
QuestionThe 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 1:12
memberAnthony Appleyard20-Jan-13 1:12 
I while ago I wrote a Visual C++ program which included 3 calls of the function 'rename(x,y)' (rename file x as y, where x and y are char*), to swop the names of two files . It works.

x=rename(orig,w); y=rename(cor,orig); z=rename(w,cor);

A day or 2 ago I wrote a similar program which calls the same. And all 3 calls of 'rename' do not rename the file but give result -1 = "unknown error". Please what might cause this?
AnswerRe: The 'rename' function gives errno == -1 Pin
pasztorpisti20-Jan-13 1:26
memberpasztorpisti20-Jan-13 1:26 
GeneralRe: The 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 3:01
memberAnthony Appleyard20-Jan-13 3:01 
AnswerRe: The 'rename' function gives errno == -1 Pin
Richard MacCutchan20-Jan-13 3:50
mvpRichard MacCutchan20-Jan-13 3:50 
GeneralRe: The 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 4:32
memberAnthony Appleyard20-Jan-13 4:32 
GeneralRe: The 'rename' function gives errno == -1 Pin
Richard MacCutchan20-Jan-13 4:37
mvpRichard MacCutchan20-Jan-13 4:37 
GeneralRe: The 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 5:02
memberAnthony Appleyard20-Jan-13 5:02 
GeneralRe: The 'rename' function gives errno == -1 Pin
Richard MacCutchan20-Jan-13 5:04
mvpRichard MacCutchan20-Jan-13 5:04 
GeneralRe: The 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 5:11
memberAnthony Appleyard20-Jan-13 5:11 
GeneralRe: The 'rename' function gives errno == -1 Pin
Richard MacCutchan20-Jan-13 5:33
mvpRichard MacCutchan20-Jan-13 5:33 
GeneralRe: The 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 5:57
memberAnthony Appleyard20-Jan-13 5:57 
GeneralRe: The 'rename' function gives errno == -1 Pin
Richard MacCutchan20-Jan-13 6:20
mvpRichard MacCutchan20-Jan-13 6:20 
GeneralRe: The 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 11:03
memberAnthony Appleyard20-Jan-13 11:03 
GeneralRe: The 'rename' function gives errno == -1 Pin
Richard MacCutchan20-Jan-13 21:52
mvpRichard MacCutchan20-Jan-13 21:52 
GeneralRe: The 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 22:11
memberAnthony Appleyard20-Jan-13 22:11 
GeneralRe: The 'rename' function gives errno == -1 Pin
Richard MacCutchan20-Jan-13 23:00
mvpRichard MacCutchan20-Jan-13 23:00 
QuestionRe: The 'rename' function gives errno == -1 Pin
DavidCrow20-Jan-13 15:17
memberDavidCrow20-Jan-13 15:17 
AnswerRe: The 'rename' function gives errno == -1 Pin
Anthony Appleyard20-Jan-13 18:15
memberAnthony Appleyard20-Jan-13 18:15 
GeneralRe: The 'rename' function gives errno == -1 Pin
Richard MacCutchan20-Jan-13 4:49
mvpRichard MacCutchan20-Jan-13 4:49 
AnswerRe: The 'rename' function gives errno == -1 Pin
jschell20-Jan-13 6:13
memberjschell20-Jan-13 6:13 
GeneralBANZAI :: bug found Pin
Anthony Appleyard20-Jan-13 23:50
memberAnthony Appleyard20-Jan-13 23:50 
QuestionIs there a way to trace an mpi message through a topology? Pin
Cioroiu Adrian-Nicu19-Jan-13 6:39
memberCioroiu Adrian-Nicu19-Jan-13 6:39 
AnswerRe: Is there a way to trace an mpi message through a topology? Pin
Richard MacCutchan19-Jan-13 21:32
mvpRichard MacCutchan19-Jan-13 21:32 
QuestionSOLVED Cannot access #include files – “permission denied” Pin
Vaclav_Sal19-Jan-13 4:38
memberVaclav_Sal19-Jan-13 4:38 
AnswerRe: Cannot access #include files – “permission denied” Pin
Richard MacCutchan19-Jan-13 5:23
mvpRichard MacCutchan19-Jan-13 5:23 
GeneralRe: Cannot access #include files – “permission denied” Pin
Vaclav_Sal19-Jan-13 7:09
memberVaclav_Sal19-Jan-13 7:09 
GeneralRe: Cannot access #include files – “permission denied” Pin
Richard MacCutchan19-Jan-13 7:11
mvpRichard MacCutchan19-Jan-13 7:11 
GeneralRe: Cannot access #include files – “permission denied” Pin
Vaclav_Sal19-Jan-13 12:02
memberVaclav_Sal19-Jan-13 12:02 
GeneralRe: Cannot access #include files – “permission denied” Pin
Richard MacCutchan19-Jan-13 21:26
mvpRichard MacCutchan19-Jan-13 21:26 
QuestionWriting a non-Windows program Pin
Anthony Appleyard19-Jan-13 1:23
memberAnthony Appleyard19-Jan-13 1:23 
AnswerRe: Writing a non-Windows program Pin
Richard MacCutchan19-Jan-13 1:35
mvpRichard MacCutchan19-Jan-13 1:35 
QuestionHow to get Visual C++ to use the char* forms of standard functions? Pin
Anthony Appleyard19-Jan-13 1:15
memberAnthony Appleyard19-Jan-13 1:15 
AnswerRe: How to get Visual C++ to use the char* forms of standard functions? Pin
SajeeshCheviry19-Jan-13 1:29
memberSajeeshCheviry19-Jan-13 1:29 
GeneralRe: How to get Visual C++ to use the char* forms of standard functions? Pin
Richard MacCutchan19-Jan-13 1:34
mvpRichard MacCutchan19-Jan-13 1:34 
AnswerRe: How to get Visual C++ to use the char* forms of standard functions? Pin
Richard MacCutchan19-Jan-13 1:33
mvpRichard MacCutchan19-Jan-13 1:33 
GeneralRe: How to get Visual C++ to use the char* forms of standard functions? Pin
SajeeshCheviry19-Jan-13 1:37
memberSajeeshCheviry19-Jan-13 1:37 
GeneralRe: How to get Visual C++ to use the char* forms of standard functions? Pin
Anthony Appleyard19-Jan-13 12:06
memberAnthony Appleyard19-Jan-13 12:06 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160919.1 | Last Updated 27 Sep 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid