hi, cin is a iostream object . so i could use a member function for acessing the object.
i.e it is valid to write cin.get() // as get() is a member function
but how this is valid if i write....
int x;
cin>>x // surely " >>" is not a member function. how can i use this way ? is not it violating the acesses rule ? still it works..why?
another question > how much it is important to close the file stream ? i have seen if i dont close the stream it really does not matter....no compile error.