Re: ...


[ Follow Ups ] [ Post Followup ] [ CS328 Message Board ] [ FAQ ]

Posted by kalpol on August 14, 2001 at 14:44:04:

In Reply to: ... posted by to kalpol on August 14, 2001 at 14:35:00:

: kalpol did u fix the problem of operator >> and << of foostring ??? I'm facing the same problem. it says operator >> ambiguous.

: thanks in advance

: tebun

yeah
don't use the overloaded << operators of foostring (or timeSense)

use the value() member function instead which returns the primitive data type that you can use << on.

i.e.,

airportType test;

test = something

cout << test.value();




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS328 Message Board ] [ FAQ ]