PAGE2GO2 HOME | INTERNET NEWS

LeighExchange - Free Advertising Network Stock Research at Internet Speed Need Money Easy and Quick?

Re: Confusing Error Message

 List
Subject: Re: Confusing Error Message
Poster: Mike Wahler
Date: Sat, 24 Mar 2007 00:56:46 GMT
Related Postings: 1 2 3 4 5 6 7 8 9
"Wilson" wrote in message news:1174671198.718143.65370@e1g2000hsg.googlegroups.com...
> Hi, while writing a simplified version of a program i created the
> following class, however when i went to compile and run the program
> there was an error saying
>
> "multiple types in one declaration" and there was a mention of a
> "[Build Error]" and "Error 1"
>
> it also highlights the final line (the one with a closing brace and
> semi-colon), i cannot see what is wrong with this, please help
>
> wilson
>
> class checking : public Account
> {
> friend void new_account();
> public:
> int abc;
> };

The error almost certainly is caused by something in the portion of code you did not post.

-Mike

 

Page2Go2.com is not responsible for content of this message.