The name of some characters

This is a discussion on The name of some characters within the C++ Programming forums, part of the General Programming Boards category; I have been wondering about what to call some of the characters frequently used in C++. As you might understand, ...

  1. #1
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072

    The name of some characters

    I have been wondering about what to call some of the characters frequently used in C++.
    As you might understand, English is not my first language.

    So, what should I call these characters:

    ( ) Brackets? Parenthesis?
    [ ] Square brackets?
    { } Curly brackets? Curly braces?

    It's quite useful to know the names of these characters when you're discussing programming in English.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  2. #2
    Registered User xlnk's Avatar
    Join Date
    Mar 2002
    Posts
    186
    ( ) - parenthesis
    [ ] - brackets
    { } - braces
    the best things in life are simple.

  3. #3
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    Ok, thanks.

    My dictionary is somewhat ambiguous, both () and [] are called 'brackets'.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  4. #4
    Seeking motivation... endo's Avatar
    Join Date
    May 2002
    Posts
    537
    ( ) parenthesis
    [ ] square brackets
    { } curly braces

    It really is a matter of opinion, I use the above method because even if you cant see the character there is little ambiguity.
    Couldn't think of anything interesting, cool or funny - sorry.

  5. #5
    CS Author and Instructor
    Join Date
    Sep 2002
    Posts
    511
    The previous posts are correct. Most textbook and CS instructors use brackets, parenthesis, and braces terminology.

    Mr. C

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A development process
    By Noir in forum C Programming
    Replies: 37
    Last Post: 07-10-2011, 10:39 PM
  2. HELP!!!!emergency Problem~expert please help
    By unknowppl in forum C++ Programming
    Replies: 9
    Last Post: 08-21-2008, 06:41 PM
  3. Replies: 10
    Last Post: 07-10-2008, 03:45 PM
  4. How do you check how many characters a user has entered?
    By engstudent363 in forum C Programming
    Replies: 5
    Last Post: 04-08-2008, 06:05 AM
  5. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM

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