Original Post
🔒 Locked
Operator Overriding
Advertisement
You mean operator overloading. It is basically making expressions like this:
vector1.add(vector2);
to
vector1 + vector2;
I don''t mean to be rude but...
If you were not able to find this information by yourself, it either means you are a poor searcher or you are just inherently lazy.
Go to Google and search for "C++ Operator Overloading."
If you want to become a GOOD programmer, you will learn how to figure things out by yourself.
If you seriously can not find the answer after an hour or so of searching, then think about posting in these forums.
Thanks!
vector1.add(vector2);
to
vector1 + vector2;
I don''t mean to be rude but...
If you were not able to find this information by yourself, it either means you are a poor searcher or you are just inherently lazy.
Go to Google and search for "C++ Operator Overloading."
If you want to become a GOOD programmer, you will learn how to figure things out by yourself.
If you seriously can not find the answer after an hour or so of searching, then think about posting in these forums.
Thanks!
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement