Click here to Skip to main content
15,909,605 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: access variable from another file Pin
CPallini28-Mar-08 5:03
mveCPallini28-Mar-08 5:03 
JokeRe: access variable from another file Pin
Matthew Faithfull28-Mar-08 5:21
Matthew Faithfull28-Mar-08 5:21 
GeneralRe: access variable from another file Pin
CPallini28-Mar-08 5:42
mveCPallini28-Mar-08 5:42 
GeneralRe: access variable from another file Pin
toxcct28-Mar-08 5:43
toxcct28-Mar-08 5:43 
GeneralRe: access variable from another file Pin
CPallini28-Mar-08 5:48
mveCPallini28-Mar-08 5:48 
GeneralRe: access variable from another file Pin
toxcct28-Mar-08 5:54
toxcct28-Mar-08 5:54 
GeneralRe: access variable from another file Pin
CPallini28-Mar-08 5:59
mveCPallini28-Mar-08 5:59 
Generalstrange questions about an array Pin
kcynic28-Mar-08 2:18
kcynic28-Mar-08 2:18 
there some code like:

int a[] = {1,2,3,4,5};
int* ptr = (int*)(&a+1);
printf("%d\n",*(ptr-1));

i know,the name of a array(here is a) is a const point. So,&a should be a point of a,its type should be int**. But,why ptr-1 point the last element of the array?It seems a little strange!

Regards.
GeneralRe: strange questions about an array Pin
Iain Clarke, Warrior Programmer28-Mar-08 2:34
Iain Clarke, Warrior Programmer28-Mar-08 2:34 
GeneralRe: strange questions about an array Pin
kcynic28-Mar-08 4:22
kcynic28-Mar-08 4:22 
GeneralRe: strange questions about an array Pin
CPallini28-Mar-08 2:56
mveCPallini28-Mar-08 2:56 
GeneralRe: strange questions about an array Pin
kcynic28-Mar-08 13:02
kcynic28-Mar-08 13:02 
GeneralRe: strange questions about an array Pin
CPallini29-Mar-08 23:13
mveCPallini29-Mar-08 23:13 
GeneralRe: strange questions about an array Pin
kcynic30-Mar-08 20:59
kcynic30-Mar-08 20:59 
AnswerRe: strange questions about an array Pin
Rajkumar R29-Mar-08 4:02
Rajkumar R29-Mar-08 4:02 
GeneralRe: strange questions about an array Pin
kcynic30-Mar-08 20:58
kcynic30-Mar-08 20:58 
GeneralMultilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
ganesa moorthy28-Mar-08 1:56
ganesa moorthy28-Mar-08 1:56 
QuestionRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
Rajesh R Subramanian28-Mar-08 2:01
professionalRajesh R Subramanian28-Mar-08 2:01 
GeneralRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
ganesa moorthy28-Mar-08 2:41
ganesa moorthy28-Mar-08 2:41 
QuestionRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
Rajesh R Subramanian28-Mar-08 2:56
professionalRajesh R Subramanian28-Mar-08 2:56 
GeneralRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
ganesa moorthy28-Mar-08 2:59
ganesa moorthy28-Mar-08 2:59 
GeneralRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
Rajesh R Subramanian28-Mar-08 3:10
professionalRajesh R Subramanian28-Mar-08 3:10 
GeneralRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
NormDroid28-Mar-08 2:59
professionalNormDroid28-Mar-08 2:59 
GeneralRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
Rajesh R Subramanian28-Mar-08 3:11
professionalRajesh R Subramanian28-Mar-08 3:11 
GeneralRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
ganesa moorthy28-Mar-08 2:41
ganesa moorthy28-Mar-08 2:41 

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.