Discussing the article: "From Basic to Intermediate: Operator Overloading (II)"

 

Check out the new article: From Basic to Intermediate: Operator Overloading (II).

At first, this article may seem rather confusing because of the material I'm going to cover in it. Nevertheless, I've tried to explain everything as simply and clearly as possible. I hope you'll understand what I'm about to show you here, and that it will come in handy someday.

Well, perhaps one of the most important tasks in programming is debugging code, whether using an IDE such as MetaEditor or directly through a log file. In simpler cases, you can even use the Toolbox message window in the MetaTrader 5 terminal. The method used to debug the code isn't that important. Nevertheless, understanding debugging mechanisms can help us identify failures and errors that would otherwise be very difficult to detect.

So, if you read the previous article carefully, you probably noticed that, near the very end, I slipped a little joke into one of the source code snippets included there. That joke was actually meant to illustrate the very point we'll be discussing in more detail here. You might find this interesting as you explore the topic and want to practice operator overloading. Since I want to keep things as simple and clear as possible, we'll start this article by breaking down one of the code snippets we analyzed in the previous article. From here, we'll move on to what I really want to show you. And now I'll show you the complete code.


Author: CODE X