I'm trying to return a string or a character array. Whats the best way to do this in C++?
Also, is there a way to make an integer for 4 bits long (max of +- 32). I'm expecting to use a large amount of int's, but I don't want numbers above 20 and the rest of the bits are being wasted.
thanks in advance,
Andrew
Also, is there a way to make an integer for 4 bits long (max of +- 32). I'm expecting to use a large amount of int's, but I don't want numbers above 20 and the rest of the bits are being wasted.
thanks in advance,
Andrew