| Author |
meaning of these symbol?
|
|
| newbie 2006-02-26, 6:55 pm |
| i'm a newbie for c programming.
Anyone can tell me what the meaning of '<<', '>>', '&' and ' | '?
| |
|
|
| newbie 2006-02-26, 6:55 pm |
| thanks :)
how about this ' ->' ?
| |
|
| The -> symbol points to the member of some object/struct.
Like: myObject->value = 1;
| |
| CBFalconer 2006-02-26, 6:55 pm |
| jamx wrote:
>
> The -> symbol points to the member of some object/struct.
> Like: myObject->value = 1;
No it doesn't. It dereferences a pointer to a struct (or union)
and then selects the appropriate member. To select the member of a
struct use the '.' operator.
--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
Also see <http://www.safalra.com/special/googlegroupsreply/>
| |
| Default User 2006-02-26, 6:55 pm |
| newbie wrote:
> i'm a newbie for c programming.
> Anyone can tell me what the meaning of '<<', '>>', '&' and ' | '?
This is no way to learn C. Get a good book on the subject.
Brian
--
If televison's a babysitter, the Internet is a drunk librarian who
won't shut up.
-- Dorothy Gambrell (http://catandgirl.com)
| |
|
|
|
|