Click here to Skip to main content
15,916,842 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get IE version Pin
rrrado6-Nov-06 6:07
rrrado6-Nov-06 6:07 
QuestionRelease version with shared Dll not running Pin
NorGUI5-Nov-06 22:21
NorGUI5-Nov-06 22:21 
AnswerRe: Release version with shared Dll not running Pin
Cedric Moonen5-Nov-06 22:35
Cedric Moonen5-Nov-06 22:35 
Questionhow to use CPerftimer class in Dialog-based MFC application Pin
daemone5-Nov-06 22:08
daemone5-Nov-06 22:08 
AnswerRe: how to use CPerftimer class in Dialog-based MFC application Pin
Rage5-Nov-06 22:51
professionalRage5-Nov-06 22:51 
GeneralRe: how to use CPerftimer class in Dialog-based MFC application Pin
daemone6-Nov-06 3:15
daemone6-Nov-06 3:15 
AnswerRe: how to use CPerftimer class in Dialog-based MFC application Pin
Hamid_RT5-Nov-06 23:59
Hamid_RT5-Nov-06 23:59 
Questionusing const Pin
minkowski5-Nov-06 22:08
minkowski5-Nov-06 22:08 
Hello,

I was hoping you could help explain my compile error in using 'const'.
I have an array defined as

<br />
const char* const letters[] = {"one", "two"};<br />


where 'const char*' means I have my elements as constant charcter ptrs (so they can't point to anything else) and 'const letters[]' meaning I have an array of fixed length (I hope that that was correct?). Blush | :O

So I wish to define a ptr at the 1st element and I use

<br />
const char* i = letters;<br />


meaning I want a constant ptr of type char pointing to the 1st element. But I keep getting this compiles error

"cannot convert from 'const char* const[2]' to 'const char*'

If anyone can give me an explanation then that would be great.
Wink | ;)

Thanks !
AnswerRe: using const Pin
Cedric Moonen5-Nov-06 22:32
Cedric Moonen5-Nov-06 22:32 
GeneralRe: using const Pin
minkowski5-Nov-06 22:37
minkowski5-Nov-06 22:37 
GeneralRe: using const Pin
Rage5-Nov-06 22:45
professionalRage5-Nov-06 22:45 
GeneralRe: using const Pin
minkowski6-Nov-06 3:02
minkowski6-Nov-06 3:02 
GeneralRe: using const Pin
Cedric Moonen6-Nov-06 3:13
Cedric Moonen6-Nov-06 3:13 
GeneralRe: using const Pin
minkowski6-Nov-06 4:22
minkowski6-Nov-06 4:22 
GeneralRe: using const Pin
Cedric Moonen6-Nov-06 4:27
Cedric Moonen6-Nov-06 4:27 
GeneralRe: using const Pin
minkowski6-Nov-06 4:38
minkowski6-Nov-06 4:38 
GeneralRe: using const Pin
David Crow6-Nov-06 4:27
David Crow6-Nov-06 4:27 
Questionsplitter window Pin
sarojkumarjena5-Nov-06 21:41
sarojkumarjena5-Nov-06 21:41 
AnswerRe: splitter window Pin
Sunil P V5-Nov-06 21:56
Sunil P V5-Nov-06 21:56 
GeneralRe: splitter window Pin
Rage5-Nov-06 22:44
professionalRage5-Nov-06 22:44 
GeneralRe: splitter window Pin
Cedric Moonen5-Nov-06 22:54
Cedric Moonen5-Nov-06 22:54 
GeneralRe: splitter window Pin
PJ Arends5-Nov-06 23:07
professionalPJ Arends5-Nov-06 23:07 
QuestionQuestion about controlling Windows Services Pin
softgrid5-Nov-06 21:30
softgrid5-Nov-06 21:30 
AnswerRe: Question about controlling Windows Services Pin
Nibu babu thomas5-Nov-06 21:35
Nibu babu thomas5-Nov-06 21:35 
AnswerRe: Question about controlling Windows Services Pin
Blake Miller9-Nov-06 11:47
Blake Miller9-Nov-06 11:47 

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.