[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Re: Looking for name




int i;     // i is an interger
int *ip;   // ip is a pointer that points at integers
ip = &i;   // ip now contains the pointer that points at i

--Chester Langin-------------------------------------------
<http://www.cs.siu.edu/~langin>  <mailto:langin@cs.siu.edu>
"Every statement is either a paradox or it isn't."
"The above statement is false."
-----------------------------------------------------------

On Thu, 22 Feb 2001, Mark wrote:

> 
> 
> You are missing what I am asking for.
> 
> 
> On Thu, 22 Feb 2001, Tighe wrote:
> 
> > If you are using a known defined structure then use something liek
> > 
> > int *foo;  
> > 
> > Will give an integer pointer to foo.  If you are looking for something
> > more indepth then what about:
> > 
> > typedef struct _foobar {
> > 	int foo;
> > 	char bar[128];
> > } foobar;
> > 
> > foobar *barfoo;
> > 
> > I think that I am missing what you are asking about here though.  The only
> > pointer declarations that I know about are the standards: void, int, char,
> > long, double, etc and the ones that you define for yourself.  Other than
> > that ... 
> > 
> > Tighe
> > 
> > 
> > >Date: Thu, 22 Feb 2001 13:44:24 -0500 (EST)
> > >From: Mark <mark@bish.net>
> > >Reply-To: silug-discuss@silug.org
> > >To: Southern Illinois Linux Users Group <silug-discuss@silug.org>
> > >Subject: Re: Re: Looking for name
> > >
> > >
> > >
> > >The code is insignificant.  I just want to know the name of the command.
> > >
> > >
> > >On Thu, 22 Feb 2001, Tighe wrote:
> > >
> > >> Interger Pointer?  Char Pointer?  DO you have a code snippet that you are
> > >> going to be using this in?
> > >> 
> > >> Tighe
> > >> 
> > >> >
> > >> >
> > >> >
> > >> >of the utility that expands C style declarations
> > >> >
> > >> >simple example:
> > >> ><command which I can't remember> *temp
> > >> >
> > >> >returns:
> > >> >Pointer to temp.
> > >> >
> > >> >------------------------------------------------------------------------
> > >> >| Mark Bishop  (mark@bish.net)         |             Computer Engineer |
> > >> >| 813.258.2390                         |             Network Engineer  |
> > >> >| http://bish.net                      |          Embedded Programmer  |
> > >> >
> > >> >-
> > >> >To unsubscribe, send email to majordomo@silug.org with
> > >> >"unsubscribe silug-discuss" in the body.
> > >> >
> > >> 
> > >> -- 
> > >> Tighe Schlottog		Sys Admin at large	  /emry\"@"/accessus.net\
> > >>                              ook ook
> > >> 
> > >> 
> > >> -
> > >> To unsubscribe, send email to majordomo@silug.org with
> > >> "unsubscribe silug-discuss" in the body.
> > >> 
> > >
> > >------------------------------------------------------------------------
> > >| Mark Bishop  (mark@bish.net)         |             Computer Engineer |
> > >| 813.258.2390                         |             Network Engineer  |
> > >| http://bish.net                      |          Embedded Programmer  |
> > >
> > >-
> > >To unsubscribe, send email to majordomo@silug.org with
> > >"unsubscribe silug-discuss" in the body.
> > >
> > 
> > -- 
> > Tighe Schlottog		Sys Admin at large	  /emry\"@"/accessus.net\
> >                              ook ook
> > "Mr. Wizard, I think I'd rather be a coot than a hacker. Yeah, sure, every
> > now and then a giant pink-haired ape would come running after me and 
> > chase me into the lake, but really, could it be that much worse? I'd have
> > a tiny little brain and wouldn't be expected to worry about anything." 
> > 						-jwz from www.jwz.org
> > 
> > -
> > To unsubscribe, send email to majordomo@silug.org with
> > "unsubscribe silug-discuss" in the body.
> > 
> 
> ------------------------------------------------------------------------
> | Mark Bishop  (mark@bish.net)         |             Computer Engineer |
> | 813.258.2390                         |             Network Engineer  |
> | http://bish.net                      |          Embedded Programmer  |
> 
> -
> To unsubscribe, send email to majordomo@silug.org with
> "unsubscribe silug-discuss" in the body.
> 

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.