Suppose I have a vector:
std::vector<char>& over;
and somewhere in my code I have an input that allows me to assign data to that character vector. I understand that an unsigned char has a bit size of 255 such that if I input 256 characters into that char array at once the program will overflow. But what if I need to push more than 255 characters into this variable? It must stay a vector of type char for other reasons so what other solutions are there to deal with this overflow issue?