Click here to Skip to main content
15,885,670 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: progress bar in list view Pin
Hamid_RT1-Feb-08 0:53
Hamid_RT1-Feb-08 0:53 
GeneralRe: progress bar in list view Pin
gayatri.neelema3-Feb-08 3:09
gayatri.neelema3-Feb-08 3:09 
GeneralRe: progress bar in list view Pin
Hamid_RT5-Feb-08 18:04
Hamid_RT5-Feb-08 18:04 
QuestionProblem with char* Pin
gReaen31-Jan-08 22:35
gReaen31-Jan-08 22:35 
GeneralRe: Problem with char* Pin
Cedric Moonen31-Jan-08 22:39
Cedric Moonen31-Jan-08 22:39 
GeneralRe: Problem with char* Pin
CPallini31-Jan-08 23:30
mveCPallini31-Jan-08 23:30 
GeneralRe: Problem with char* Pin
David Crow1-Feb-08 3:26
David Crow1-Feb-08 3:26 
GeneralRe: Problem with char* Pin
Bram van Kampen1-Feb-08 16:22
Bram van Kampen1-Feb-08 16:22 
You should never loose sight of the code generated by the compiler. In your case the Compiler will include two char arrays into the excecutable, namely "abcd" and "ABCB" The fact that you Tyedefed them as myString has confused you more than the compiler. You cannot copy i to j, because both are in memory reserved for string constants. In other words: Both are in 'read only' memory. I strongly suggest that you get a copyof the excelent book written by Brian Kernighan and Denis Ritchie about the 'C' language (Never mind CPP). And rephrase the question above after reading these books.
If you do the appropriate amount of study,you will realise that in the above example code fragments, memoryleaks are not even close to being an issue.

Bram van Kampen

Questioncan anybody help me out Pin
philiptabraham31-Jan-08 22:20
philiptabraham31-Jan-08 22:20 
AnswerRe: can anybody help me out [modified] Pin
Iain Clarke, Warrior Programmer31-Jan-08 22:37
Iain Clarke, Warrior Programmer31-Jan-08 22:37 
JokeIgnore this - I don't need any assistance Pin
Cedric Moonen31-Jan-08 22:51
Cedric Moonen31-Jan-08 22:51 
GeneralRe: Ignore this - I don't need any assistance Pin
CPallini31-Jan-08 23:15
mveCPallini31-Jan-08 23:15 
GeneralRe: Ignore this - I don't need any assistance Pin
Iain Clarke, Warrior Programmer31-Jan-08 23:42
Iain Clarke, Warrior Programmer31-Jan-08 23:42 
GeneralRe: Ignore this - I don't need any assistance Pin
CPallini31-Jan-08 23:52
mveCPallini31-Jan-08 23:52 
GeneralRe: Ignore this - I don't need any assistance Pin
Cedric Moonen1-Feb-08 0:07
Cedric Moonen1-Feb-08 0:07 
GeneralRe: can anybody help me out Pin
CPallini31-Jan-08 23:01
mveCPallini31-Jan-08 23:01 
GeneralRe: can anybody help me out Pin
Cedric Moonen31-Jan-08 23:08
Cedric Moonen31-Jan-08 23:08 
GeneralRe: can anybody help me out Pin
CPallini31-Jan-08 23:21
mveCPallini31-Jan-08 23:21 
GeneralRe: can anybody help me out Pin
Iain Clarke, Warrior Programmer31-Jan-08 23:13
Iain Clarke, Warrior Programmer31-Jan-08 23:13 
GeneralRe: can anybody help me out Pin
CPallini31-Jan-08 23:45
mveCPallini31-Jan-08 23:45 
QuestionIs there a Windows API or a method which can convert FILE* to HANDLE of a file or convert HANDLE to FILE* ?? Pin
Jude Deng31-Jan-08 22:13
Jude Deng31-Jan-08 22:13 
GeneralRe: Is there a Windows API or a method which can convert FILE* to HANDLE of a file or convert HANDLE to FILE* ?? Pin
Iain Clarke, Warrior Programmer31-Jan-08 22:53
Iain Clarke, Warrior Programmer31-Jan-08 22:53 
GeneralRe: Is there a Windows API or a method which can convert FILE* to HANDLE of a file or convert HANDLE to FILE* ?? Pin
Jude Deng1-Feb-08 19:01
Jude Deng1-Feb-08 19:01 
GeneralRe: Is there a Windows API or a method which can convert FILE* to HANDLE of a file or convert HANDLE to FILE* ?? Pin
Jude Deng1-Feb-08 22:03
Jude Deng1-Feb-08 22:03 
GeneralRe: Is there a Windows API or a method which can convert FILE* to HANDLE of a file or convert HANDLE to FILE* ?? Pin
Iain Clarke, Warrior Programmer2-Feb-08 12:32
Iain Clarke, Warrior Programmer2-Feb-08 12:32 

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.