Is it worth learning binary for game hacking with C++ and Cheat engine?
It is certainly worth learning and understanding binary as it is one of the underlying concepts of software. Now, imho, applying this skill to hack and cheat is a waste of talent ! :-)
ifl Why so? Isn't it another way to represent values apart from decimal?
Yes it is another way to represent values. Another useful way to know is hex (hexadecimal). being good at converting between them is useful.
Problem Statement Given two integers a and b, your task is to calculate and print the following four values: