Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #44.2K
2 Posted Topics
hi, everyone i want to ask about EOF in C++ when i learn C to use EOF in my code is like this : [CODE] while (scanf("%d",&a) != EOF){ statement ... } [/CODE] but, when i use in C++ { [CODE] while ((cin >> a) != EOF){ statement ... } … | |
hi, i want to ask.. is it can to get an input from the user by only call the class object? here's the code : #include <iostream> class Time{ private: int time; int minute; int sec; ... }; void main(){ Time t; cin >> t; cout << "The time is … |
The End.