Click here to Skip to main content
15,908,444 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: pointer [modified] Pin
jith - iii26-May-06 19:02
jith - iii26-May-06 19:02 
GeneralRe: pointer [modified] Pin
S. Senthil Kumar26-May-06 20:42
S. Senthil Kumar26-May-06 20:42 
GeneralRe: pointer [modified] Pin
jith - iii26-May-06 22:30
jith - iii26-May-06 22:30 
GeneralRe: pointer [modified] Pin
Stephen Hewitt26-May-06 18:05
Stephen Hewitt26-May-06 18:05 
GeneralRe: pointer [modified] Pin
S. Senthil Kumar26-May-06 20:35
S. Senthil Kumar26-May-06 20:35 
AnswerRe: pointer [modified] Pin
Member 303984325-May-06 19:29
Member 303984325-May-06 19:29 
AnswerRe: pointer [modified] Pin
Saday Sarkar25-May-06 19:51
Saday Sarkar25-May-06 19:51 
GeneralRe: pointer [modified] Pin
jith - iii25-May-06 21:11
jith - iii25-May-06 21:11 
Thank you.I have doubt only in the memory part..I think I understand how values are being manupulated through pointers

can we do like this...

int *p,x // allocating 4 bytes for pinter p in memory;
float k //allocating 4 bytes.

p=&k // this will work very well.

Now,
k=&p // what will happen now
or k=&x;// if k has enough space to store the address of it can hold.
But then

*k should work ,I know,which will not


Thanks

-- modified at 3:15 Friday 26th May, 2006
GeneralRe: pointer [modified] Pin
Stephen Hewitt26-May-06 18:25
Stephen Hewitt26-May-06 18:25 
GeneralRe: pointer [modified] Pin
jith - iii26-May-06 19:06
jith - iii26-May-06 19:06 
QuestionLinux's gettimeofday() equivalent for windows Pin
useme12325-May-06 18:41
useme12325-May-06 18:41 
AnswerRe: Linux's gettimeofday() equivalent for windows Pin
Ganesh_T25-May-06 18:51
Ganesh_T25-May-06 18:51 
GeneralRe: Linux's gettimeofday() equivalent for windows Pin
ThatsAlok25-May-06 22:18
ThatsAlok25-May-06 22:18 
AnswerRe: Linux's gettimeofday() equivalent for windows Pin
Nibu babu thomas25-May-06 18:53
Nibu babu thomas25-May-06 18:53 
AnswerRe: Linux's gettimeofday() equivalent for windows Pin
Ryan Binns25-May-06 18:57
Ryan Binns25-May-06 18:57 
QuestionAbout threading Pin
Aqueel25-May-06 18:30
Aqueel25-May-06 18:30 
AnswerRe: About threading Pin
Nibu babu thomas25-May-06 18:38
Nibu babu thomas25-May-06 18:38 
AnswerRe: About threading Pin
_AnsHUMAN_ 25-May-06 18:43
_AnsHUMAN_ 25-May-06 18:43 
AnswerRe: About threading Pin
ThatsAlok25-May-06 22:19
ThatsAlok25-May-06 22:19 
QuestionControl of a List Box Pin
Immunity1825-May-06 18:11
Immunity1825-May-06 18:11 
AnswerRe: Control of a List Box [modified] Pin
Nibu babu thomas25-May-06 18:20
Nibu babu thomas25-May-06 18:20 
GeneralRe: Control of a List Box [modified] Pin
Immunity1825-May-06 19:05
Immunity1825-May-06 19:05 
GeneralRe: Control of a List Box [modified] Pin
Nibu babu thomas25-May-06 19:08
Nibu babu thomas25-May-06 19:08 
GeneralRe: Control of a List Box [modified] Pin
Immunity1825-May-06 19:13
Immunity1825-May-06 19:13 
GeneralRe: Control of a List Box [modified] Pin
Nibu babu thomas25-May-06 19:15
Nibu babu thomas25-May-06 19:15 

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.