How to properly align text ?No idea if you can somehow do it with cout in an easy way but you could use printf(). [code] //ripp...
What is difference between char* and int* data type to create array of pointers in C++?It is rather simple when you know it. [code] int var[] = {10, 100, 200, 1000}; int *ptr[] = {var[0]...
How to reset bits in my variables?You can use the bitwise negation (~). [code]number&= ~(1 << x)[/code] What do you mean by clear? J...
Words of String into ArrayHi liuyang is most likely right unless you have configured the compiler to be very forgiving (c++ sh...
OutputPlease use code tags next time ( <> button). Your variable type is Interger and if you divide it wi...
This user does not accept Private Messages