[Tutor] Pointer handling

Jimmy verma jim_938@hotmail.com
Wed Jun 11 13:58:01 2003


Hello *.*

I am having a problem with handling pointers.

I have a function like this:
XYZ is a struct.

ABC( XYZ *aa)
{
       XYZ *bb;
       bb = &aa[no];    // no is some integer value.
       /*Do sthing */
        HHH(bb, aa, no);             // values are used in some function

}


Now in python i have made a class XYZ


def ABC(XYZ):
      g = XYZ();



How the code here can behave like the code above.


Waiting for the suggestions.

Regards,

Jim

_________________________________________________________________
Narain Karthikeyan. He's fast, really fast. 
http://server1.msn.co.in/sp03/tataracing/index.asp Want to meet him?