Click here to Skip to main content
15,902,447 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Retrieve Win32 Process Memory Map Pin
edfgreen28-Apr-08 19:11
edfgreen28-Apr-08 19:11 
QuestionC++ image compression LZW algorithm??? Pin
dev_buzz28-Apr-08 6:59
dev_buzz28-Apr-08 6:59 
GeneralRe: C++ image compression LZW algorithm??? Pin
David Crow28-Apr-08 7:01
David Crow28-Apr-08 7:01 
GeneralRe: C++ image compression LZW algorithm??? Pin
Maximilien28-Apr-08 9:02
Maximilien28-Apr-08 9:02 
GeneralRe: C++ image compression LZW algorithm??? Pin
Hamid_RT29-Apr-08 1:59
Hamid_RT29-Apr-08 1:59 
Questionunexpected behaviour of 'atof' and 'strtod' Pin
Member 361100228-Apr-08 6:03
Member 361100228-Apr-08 6:03 
GeneralRe: unexpected behaviour of 'atof' and 'strtod' Pin
David Crow28-Apr-08 6:13
David Crow28-Apr-08 6:13 
GeneralRe: unexpected behaviour of 'atof' and 'strtod' Pin
cagespear28-Apr-08 8:09
cagespear28-Apr-08 8:09 
GeneralRe: unexpected behaviour of 'atof' and 'strtod' Pin
David Crow28-Apr-08 8:12
David Crow28-Apr-08 8:12 
AnswerRe: unexpected behaviour of 'atof' and 'strtod' Pin
Michael Dunn28-Apr-08 15:03
sitebuilderMichael Dunn28-Apr-08 15:03 
GeneralRe: unexpected behaviour of 'atof' and 'strtod' Pin
Saurabh.Garg28-Apr-08 15:54
Saurabh.Garg28-Apr-08 15:54 
AnswerRe: unexpected behaviour of 'atof' and 'strtod' Pin
Ozer Karaagac28-Apr-08 16:03
professionalOzer Karaagac28-Apr-08 16:03 
QuestionHow to get rid of this ERROR Pin
pl_kode28-Apr-08 3:38
pl_kode28-Apr-08 3:38 
This is what I am doin...

string filename; //filename contains "c:\\new folder\\file1.txt"
....
....
ofstream myfile;
myfile.open (filename, ios::app);


When I compile or built this I get
error C2664: 'void __thiscall std::basic_ofstream<char,struct std::char_traits<char=""> >::open(const char *,int)' : cannot convert parameter 1 from 'class std::basic_string<char,struct std::char_tr<br="" mode="hold">aits<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
Error executing cl.exe.


Please help me get rid of this or any suggestion to make changes to this. THANKS
GeneralRe: How to get rid of this ERROR Pin
CPallini28-Apr-08 3:43
mveCPallini28-Apr-08 3:43 
GeneralRe: How to get rid of this ERROR Pin
pl_kode28-Apr-08 3:52
pl_kode28-Apr-08 3:52 
GeneralRe: How to get rid of this ERROR Pin
pl_kode28-Apr-08 4:17
pl_kode28-Apr-08 4:17 
QuestionRe: How to get rid of this ERROR Pin
Rajkumar R28-Apr-08 4:46
Rajkumar R28-Apr-08 4:46 
GeneralRe: How to get rid of this ERROR Pin
CPallini28-Apr-08 4:54
mveCPallini28-Apr-08 4:54 
GeneralRe: How to get rid of this ERROR Pin
pl_kode28-Apr-08 17:39
pl_kode28-Apr-08 17:39 
QuestionRe: How to get rid of this ERROR Pin
CPallini28-Apr-08 21:15
mveCPallini28-Apr-08 21:15 
GeneralRe: How to get rid of this ERROR Pin
Maximilien28-Apr-08 4:03
Maximilien28-Apr-08 4:03 
GeneralRe: How to get rid of this ERROR Pin
pl_kode28-Apr-08 4:16
pl_kode28-Apr-08 4:16 
GeneralRe: How to get rid of this ERROR Pin
cagespear28-Apr-08 8:07
cagespear28-Apr-08 8:07 
GeneralRe: How to get rid of this ERROR Pin
pl_kode28-Apr-08 17:35
pl_kode28-Apr-08 17:35 
GeneralRe: How to get rid of this ERROR Pin
Rajkumar R28-Apr-08 19:19
Rajkumar R28-Apr-08 19:19 

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.