Click here to Skip to main content
15,905,323 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Any way to display the "square meter" within a string? Pin
Garth J Lancaster23-May-08 22:05
professionalGarth J Lancaster23-May-08 22:05 
GeneralRe: Any way to display the "square meter" within a string? Pin
followait23-May-08 23:35
followait23-May-08 23:35 
AnswerRe: Any way to display the "square meter" within a string? Pin
Michael Schubert23-May-08 22:23
Michael Schubert23-May-08 22:23 
GeneralRe: Any way to display the "square meter" within a string? Pin
followait23-May-08 23:34
followait23-May-08 23:34 
GeneralRe: Any way to display the "square meter" within a string? [modified] Pin
Michael Schubert24-May-08 0:19
Michael Schubert24-May-08 0:19 
GeneralRe: Any way to display the "square meter" within a string? Pin
followait25-May-08 6:12
followait25-May-08 6:12 
AnswerRe: Any way to display the "square meter" within a string? Pin
Rajkumar R24-May-08 5:36
Rajkumar R24-May-08 5:36 
QuestionRenaming a file Pin
pl_kode23-May-08 21:14
pl_kode23-May-08 21:14 
I have two strings and I do the following...
string old_path; // this is like C:\\folder\\file.txt
string new_path; // this is like C:\\folder\\file1.txt

rename(old_path_newpath)


Doing this I get the following error. How do I overcome this error.
error C2664: 'rename' : cannot convert parameter 1 from 'class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> >' to 'const char *'
        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
</char></char,struct>


THANKS
AnswerRe: Renaming a file Pin
Garth J Lancaster23-May-08 21:30
professionalGarth J Lancaster23-May-08 21:30 
AnswerRe: Renaming a file Pin
Hamid_RT23-May-08 22:06
Hamid_RT23-May-08 22:06 
GeneralRe: Renaming a file Pin
Garth J Lancaster23-May-08 22:11
professionalGarth J Lancaster23-May-08 22:11 
GeneralRe: Renaming a file Pin
Hamid_RT24-May-08 5:17
Hamid_RT24-May-08 5:17 
QuestionVC++ 6.0 MMSYSTEM.LIB?? Pin
Bob Macklin23-May-08 17:11
Bob Macklin23-May-08 17:11 
Answerit's not exist "MMSYSTEM.LIB" in VC++ 6.0 setup dir. Pin
Jack Lu23-May-08 19:18
Jack Lu23-May-08 19:18 
AnswerRe: VC++ 6.0 MMSYSTEM.LIB?? Pin
Garth J Lancaster23-May-08 21:45
professionalGarth J Lancaster23-May-08 21:45 
GeneralRe: VC++ 6.0 MMSYSTEM.LIB?? Pin
Bob Macklin24-May-08 4:56
Bob Macklin24-May-08 4:56 
GeneralRe: VC++ 6.0 MMSYSTEM.LIB?? Pin
Michael Schubert24-May-08 6:59
Michael Schubert24-May-08 6:59 
AnswerRe: VC++ 6.0 MMSYSTEM.LIB?? Pin
Michael Schubert24-May-08 6:48
Michael Schubert24-May-08 6:48 
GeneralRe: VC++ 6.0 MMSYSTEM.LIB?? Pin
Bob Macklin24-May-08 12:52
Bob Macklin24-May-08 12:52 
QuestionMultiple dialogs in an application Pin
Lord Kixdemp23-May-08 13:34
Lord Kixdemp23-May-08 13:34 
AnswerRe: Multiple dialogs in an application Pin
Mukesh Kumar23-May-08 18:20
Mukesh Kumar23-May-08 18:20 
AnswerRe: Multiple dialogs in an application Pin
zafersavas23-May-08 18:27
zafersavas23-May-08 18:27 
GeneralRe: Multiple dialogs in an application Pin
Lord Kixdemp23-May-08 18:36
Lord Kixdemp23-May-08 18:36 
AnswerRe: Multiple dialogs in an application Pin
Nelek24-May-08 0:39
protectorNelek24-May-08 0:39 
QuestionChanging a Dialog's Caption in MFC Pin
Larry Mills Sr23-May-08 7:54
Larry Mills Sr23-May-08 7:54 

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.