uh... -> .* * ! | & ^= ++ @(#)$*&#@!!!

This is a discussion on uh... -> .* * ! | & ^= ++ @(#)$*&#@!!! within the C++ Programming forums, part of the General Programming Boards category; I always get messed up with that as well. I guess it's just a habit carried over from my BASIC ...

  1. #16
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    I always get messed up with that as well. I guess it's just a habit carried over from my BASIC days.

  2. #17
    Registered User
    Join Date
    Jul 2004
    Posts
    60
    You forgot the ! (NOT) operator. It is usually used to make a boolean value the opposite of what it actually is for a conditional. the .* and ->* are just saying -> then "value pointed by" or . and " ".
    Child who knows C++
    Using Borland C/C++ Compiler 5.5 (Command Line Version)

  3. #18
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Code:
        int Func::*pm = &Func::code;   // this is legal, believe it or not
        void (Func::*pf)(int) = &Func::foo;   //this is legal too!
    Learn something new every day... I guess I'll have to look up how to overload those operators sometime. I'd always assumed it was just another way of saying overloading ->.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. small -> big -> bigger -> bigger than bigger -> ?
    By happyclown in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 03-11-2009, 01:12 PM
  2. Changing flags from a DLL?
    By RobotGymnast in forum C++ Programming
    Replies: 17
    Last Post: 10-27-2008, 02:34 PM
  3. Dev-C++ -> Tools - > Editor -> Syntax
    By Yuri2 in forum C++ Programming
    Replies: 19
    Last Post: 07-03-2006, 08:48 AM
  4. > > > Urgent Help < < <
    By CodeCypher in forum C Programming
    Replies: 2
    Last Post: 01-31-2006, 02:06 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21