rrcn
11-24-2003, 04:49 PM
how can i switch the values of 2 variables in c++?
lets say num1 is 3 and num2 is 5
i want num1 to have the value of 5 and num2 to have the value of 3.
lets say num1 is 3 and num2 is 5
i want num1 to have the value of 5 and num2 to have the value of 3.