hi everyone.
right now i have read in two characters and combined them into an int. Once i have combined them, i have shifted the whole thing over.
Now i need to take the combined shift and unpack it to two separate entities again. Here is my code so far.
while(!fIn.eof()) {
fIn.get(Cha);
fIn.get(Chb);
combine = ((int)Cha<<8) | (int)Chb;
shift = (combine << 4);
}
Is what i'm looking to do remotely possible? If so, can anybody help me out? Thanks much!
Keith



LinkBack URL
About LinkBacks



I actually meant this: