multiple declaration of objects

Login to reply to this topic.
Wed, 2008-03-05 13:47
Joined: 2008-02-12
Forum posts: 5

Hi,
whether multiple declaration of an object is possible? if yes please give me some example.

Best regards

Pranaya


Wed, 2008-03-05 14:53
Joined: 2004-11-29
Forum posts: 1155
Re: multiple declaration of objects

What are you talking about?

If you are talking about forward declarations, it works as standardized in C++.

multiple conflicting declarations doesn't work ofcourse.

unless you are doing function overloading, this too also working just as normal in C++.

So... what is it you want to do? Can't give any examples without knowing that.

  • Login to reply to this topic.