Thread: C++ Keywords

  1. #1

    C++ Keywords

    asm
    auto
    bool
    break
    case
    catch
    char
    class
    const
    const_cast
    continue
    default
    delete
    do
    double
    dynamic_cast
    else
    enum
    explicit
    extern
    false
    float
    for
    friend
    goto
    if
    inline
    int
    long
    mutable
    namespace
    new
    operator
    private
    protected
    public
    register
    reinterpre_cast
    return
    short
    signed
    sizeof
    static
    static_cast
    struct
    switch
    template
    this
    throw
    true
    try
    typedef
    typeid
    typename
    union
    unsigned
    using
    virtual
    void
    volatile
    wchar_t
    while

    Did i miss any?!

  2. #2
    My Avatar says: "Stay in School"

    Rocco is the Boy!
    "SHUT YOUR LIPS..."

  3. #3
    guess not

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    export
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  5. #5
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    ANSI keywords or do M$ specific ones count?
    naked comes to mind.

  6. #6
    just ansi

  7. #7
    Registered User
    Join Date
    Sep 2002
    Posts
    272
    Ok, you've got 'em all (apart from export), but you missed some reserved names -

    bitand
    and
    bitor
    or
    xor
    comand_eq
    or_eq
    xor_eq
    not
    not_eq
    Joe

  8. #8
    CS Author and Instructor
    Join Date
    Sep 2002
    Posts
    511
    Ok, you've got 'em all (apart from export), but you missed some reserved names -
    I believe they are called operator keywords- and you are missing some:


    and_eq & compl

    What is comand_eq???
    Mr. C: Author and Instructor

  9. #9
    Registered User
    Join Date
    Sep 2002
    Posts
    272
    I was missing

    >and_eq & compl

    and included

    >comand_eq

    Have a guess.
    Joe

  10. #10
    CS Author and Instructor
    Join Date
    Sep 2002
    Posts
    511

    Talking


    and included

    >comand_eq

    Have a guess.
    Only reason why I asked is because I did not see it in all my - C++ text and reference books.

    Probably means "compound equals"
    Mr. C: Author and Instructor

  11. #11
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Hammer, is export ansi? I didn't think it was.

  12. #12
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    pascal

  13. #13
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Originally posted by master5001
    Hammer, is export ansi? I didn't think it was.
    Yes, but its not implemented much as suppoesdly its real hard for vendors to implement. It was also a late include, so many free drafts on the web dont include it



    here

  14. #14
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Interesting, I assumed (wrongly mind you) that since its implimentation was weakly supported that it wasn't standard. Then again, exception handling keywords weren't common place when they became standard.

  15. #15
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Originally posted by master5001
    Interesting, I assumed (wrongly mind you) that since its implimentation was weakly supported that it wasn't standard. Then again, exception handling keywords weren't common place when they became standard.
    Ive got the final ANSI standard and its listed as keyword on that.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to color certain keywords?
    By Purity in forum Tech Board
    Replies: 5
    Last Post: 10-20-2005, 02:07 PM
  2. super/interface keywords
    By xErath in forum C++ Programming
    Replies: 4
    Last Post: 06-22-2005, 07:06 PM
  3. Google remembering my keywords
    By m712 in forum Tech Board
    Replies: 4
    Last Post: 07-26-2003, 11:48 AM
  4. new keywords
    By Shadow12345 in forum C++ Programming
    Replies: 8
    Last Post: 07-25-2002, 02:57 AM
  5. C# Keywords
    By Troll_King in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 10-28-2001, 11:00 AM