i have a char array bla, where I need to put 0 and 1 as first to values of bla.
latter on, i need to compare these two values, but if I do it like I did on line 5 , 6 and 15, the value wont even be printed. I tried to do some convertions but I wasnt succesful.
Use string instead. You can intialize a string from an integer and concatenate on just about anything. What are you trying to accomplish? What is the actual problem?
if I used string I had to change loats of things in my program, which is quite long now.
I am trying to put some padding to the string "hello", 2 first values have to be 0 and 1. after that can be any value and then "hello". latter I need to remove this padding. and the problem is, how to put 0 and 1 to that field, so I could later compare if this values are right and the string "hello" has the right padding.