combine binary numbers

65

long long result;
result = num1;
result = (result << 8) | num2;
result = (result << 24) | num3;

Comments

Submit
0 Comments