Im trying to swap the values of an integer and a character, however Im not sure where to insert the static_cast<type> part that I need for this to happen, can I get any help?
Thank you for the feedback, but I really need to be able to do this swap using static_cast, currently Im having a lot of trouble with the T&, but I cant remove the & because it stops the program from working
Unfortunately, that sort of defeats the purpose, due to the fact that I now recieve a 65 as the value rather than 'A' if its symbol one, so yes it swaps, but no, it is not what is needed sadly, thanks for the input though, I appreciate it