Thread: i don't know about cin, cout, flag.

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    1

    Question i don't know about cin, cout, flag.

    hi , master!

    cin is a object of class istream and cout is a object of class ostream.

    i anxious to know C's entire letter in cin.


    and what is flag?

    thanks....

  2. #2
    Unregistered
    Guest
    You using Babelfish or something?

    Regarding the question, I think C is an important letter in both "cin" and "cout" ("in" and "out" might not work without the c!), and a flag is one of those cloth thingies that distuingish between different countries. Your country has one, too. You know, they hang 'em on tall poles?

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Well, thanks Unregistered, for your wisdom.

    First small point, cin and cout are objects thus are constructs of C++ not C. C does not support the concept of objects.

    Typically a flag is a binary, (etc.), value that is either set/reset to enable or disable some feature of the object, (etc.), that owns the flag, or is set/reset by an object, (etc.), to indicate some status.

    I think you'll need to be a little more specific with your question to get a really good answer though.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. CIN Input count question?
    By kamran in forum C++ Programming
    Replies: 5
    Last Post: 10-24-2006, 04:06 PM
  2. Binary I/O with cin and cout
    By The Urchin in forum C++ Programming
    Replies: 4
    Last Post: 10-24-2006, 12:47 PM
  3. O_o cin and cout aren't declared?
    By charlybob in forum C++ Programming
    Replies: 6
    Last Post: 10-03-2006, 11:25 AM
  4. getline(function)??
    By dac in forum C++ Programming
    Replies: 7
    Last Post: 03-10-2006, 12:42 PM
  5. Redirecting cout stream
    By Arrow Mk84 in forum C++ Programming
    Replies: 1
    Last Post: 10-08-2002, 04:17 PM