1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

cin>> cout<<

Discussion in 'C++' started by unni krishnan.r, Feb 12, 2011.

  1. unni krishnan.r

    unni krishnan.r New Member

    Joined:
    Apr 20, 2010
    Messages:
    204
    Likes Received:
    3
    Trophy Points:
    0
    Occupation:
    education
    Location:
    Kerala
    Home Page:
    Why cant we treat cin and cout as a keyword instead as an identifier
     
    rami hassan likes this.
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    Strange question. By definition cin and cout are identifiers, not keywords. Your question shows you don't understand the difference. A keyword is one that is part of the language, like "int" and "char". An identifier is a name given to something, so if you define "int foo;" then foo is the identifier.
     
    rami hassan and shabbir like this.

Share This Page