Don't create a new thread with the same question because you aren't getting an answer. That is a very sure way of getting both threads locked. Now the size of int, short, ect. are implementatino specific so be sure to verify your implementation. Note my use of short instead of unsigned int.
Code:
#include <iostream>
using namespace std;
int main()
{
char * c = new char[1];
short result=0;
*(c+0) = 0x10;
*(c+1) = 0x11;
for(short i = 0; i < sizeof(i); i++)
result = (result << 8) + c[i];
short j = 0x1011;
cout << result << " " <<j;
cin.get();
}