TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
khuramsyal
NA
1
0
Errors
Mar 16 2004 2:15 AM
Can anyone please help me with a compiler error I'm getting, class Card{ public: ........... friend istream& operator>> (istream&, Card&); }; //then later on in the program istream& operator>> (istream& in, Card& c){ int num; Suite s; string ch; in >> num >> ch >> s; c.nmbr= num; c.ste= s; return in; } //The error is something like this: Card.h: In function `class istream & operator >>(istream &, Card &)': Card.h:185: initializing non-const `int &' with `Suite' will use a temporary /usr/local/lib/gcc-lib/alphaev56-dec-osf4.0e/2.95.3/include/g++/iostream.h:206: in passing argument 1 of `istream::operator >>(int &)' Please help me, Thank You, K.S. (
[email protected]
)
Reply
Answers (
1
)
Run an exe file using vb.net
Xml in C#