int Pointer and struct pointer 
Author Message
 int Pointer and struct pointer

Hello:

    I have two pointers one int pointer the other struct pointer.  Both
point  to one address in link list traverse. Due to this my Borland 4.5
compiler report error.

    How can I fix this problem.

Thank you

Semegne
Toronto



Mon, 26 Aug 2002 03:00:00 GMT  
 int Pointer and struct pointer

Quote:

>     I have two pointers one int pointer the other struct pointer.  Both
> point  to one address in link list traverse. Due to this my Borland 4.5
> compiler report error.

   Can you provide some sample code which demonstrates this
[mis]behavior?




Tue, 27 Aug 2002 03:00:00 GMT  
 int Pointer and struct pointer


Quote:
> Hello:

>     I have two pointers one int pointer the other struct pointer.  Both
> point  to one address in link list traverse. Due to this my Borland 4.5
> compiler report error.

>     How can I fix this problem.

By posting the smallest failing code, and the compiler error messages,
to a newsgroup such as comp.lang.ci, along with a description of what
you think *ought* to happen.

--
Chris "detecting a clairvoyancy theme this morning" Dollin
C FAQs at: http://www.faqs.org/faqs/by-newsgroup/comp/comp.lang.c.html



Tue, 27 Aug 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. pointers to functions in structs which take a pointer to that struct as an arg

2. cast pointer to struct to pointer to type of first member of struct

3. memory leak: pointer->pointer->pointer->struct

4. memory Leak: pointer->pointer->pointer->struct

5. char pointers vs. int pointers

6. dereferencing pointer to a structure containing a pointer to int

7. pointer to pointer to int

8. Pointer to struct with pointer.

9. struct pointer to pointer

10. Q: pointers to pointers that point to structs?

11. How to marshal pointer to pointer to struct

12. Dereferencing f-pointers, arrays of f-pointers, pointers to f-pointers

 

 
Powered by phpBB® Forum Software