Hey guys
Just experimenting with C++ for university at the moment and have come across a simple task that I would like to do without finding a solution on the web or text books.
Would like to combine two int's into a single int variable like so:
int a = 244
int b = 201
int c = 244201
Is it even possible?
Thanks for any guidance.
Just experimenting with C++ for university at the moment and have come across a simple task that I would like to do without finding a solution on the web or text books.
Would like to combine two int's into a single int variable like so:
int a = 244
int b = 201
int c = 244201
Is it even possible?
Thanks for any guidance.