By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,797 Members | 1,836 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,797 IT Pros & Developers. It's quick & easy.

Operator Overloading.

P: n/a
Hello,

I am trying to do a class to use with images, so I need to implement
some basic stuff with operator overload, now I am trying to do
something like this:

myclsIMG *a = new myclsIMG;
int x;
a(10,80) = 10;
x = a(10,80);

I canīt find much help about overloading operators, someone have a
tutorial, or good documentation about it?

Thanks
Arnaldo.

Dec 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Arnaldo G. Jr" <gi********@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com
Hello,

I am trying to do a class to use with images, so I need to implement
some basic stuff with operator overload, now I am trying to do
something like this:

myclsIMG *a = new myclsIMG;
int x;
a(10,80) = 10;
x = a(10,80);
You asked this question 2 weeks ago and it was answered. Look up your
previous question in Google Groups if it is not accessible to you in any
other way.
I canīt find much help about overloading operators, someone have a
tutorial, or good documentation about it?


Try any C++ textbook. A free one is here:

http://mindview.net/Books/TICPP/ThinkingInCPP2e.html
--
John Carson
Dec 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.