I am trying to set a char array with the first 2 chars equal to 698 in binary, the 3rd and 4th chars a dynamic number under 180 and the rest a predefined set of 150 characters followed by an eof-is there a simple way to alter char arrays so I could, in example, do this:
char arr[155];
arr [0-1] = uint_16(698);
arr[2-3] = uint_16(178);
arr[4-154] = (another message);
I am new to c++ and am not experienced with these things.