Solved

C++ what is the name for a "}" ??? - lol silly and simple

Posted on 2004-10-22
178 Views
Last Modified: 2010-04-01
Hello Experts Exchnage ,

lol I have a super taxing question this time. Can any one tell us what  "{" or "}"  names are. Do you call them curly brackets or what???. Lol this will settle a little debate im having with someone.
Yes I am asking the name of the } { bracket things!!!

Thanks in advance Paladin
0
Question by:Paladin_VB
    7 Comments
     
    LVL 12

    Expert Comment

    by:guidway
    I've always been told they were called braces. So that is what I use.

    [] <- these are supposedly brackets.
    0
     
    LVL 1

    Author Comment

    by:Paladin_VB
    Cool thanks. Are you totally sure??

    aren't [ , ] square brackets cause surley the name brackets is reserved for ( and )
    0
     
    LVL 12

    Expert Comment

    by:guidway
    if you want a real laugh...
    http://www.hyperdictionary.com/computing/left+brace

    :)
    guid
    0
     
    LVL 1

    Author Comment

    by:Paladin_VB
    ok
    so

    [ and ] = brackets
    { and } = braces
    ( and ) = curlys

    am i right ?? lol her's another 5 points, yup generous....
    0
     
    LVL 12

    Accepted Solution

    by:
    >>Are you totally sure??<<

    again, that is what I was told they were called when I started programming. Doesn't necessarily mean they are called that by all programmers though. I'm sure there are other names that are used interchangeably with brace. Wait for some more experts to respond and see what they say.

    guid
    0
     
    LVL 1

    Author Comment

    by:Paladin_VB
    jnaah lol i trust you . I have about 1000 q's open so ill close it. Thanks
    0
     
    LVL 12

    Expert Comment

    by:guidway
    >>
    [ and ] = brackets
    { and } = braces
    ( and ) = curlys

    am i right ?? <<

    ( and ) = parenthesis (for me anyway). the other two are right (in my opinion).
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Prepare to Pass the CompTIA A+ 900 Series Exam

    CompTIA aims to adapt its A+ Certification to reflect the most current knowledge and skills needed by today's IT professionals--and this year's 2016 exam is harder than ever. This certification is one of the most highly-respected and sought after in IT.

    When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
    Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
    The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
    The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

    913 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now