ok, then for Lines 14-29, what is the type of binary[i-2] and what is the type of "0000"?
are they the same type?
you are obviously not compiling your program as you go along - I highly recommend that you start over clean, and add small bits of your program at a time, making 100% sure that they compile before you go on...
the problem is, the C++ that's in your head is nothing like the C++ that the compiler is expecting
"ok, then for Lines 14-29, what is the type of binary[i-2] and what is the type of "0000"?
are they the same type?"
yes i think they are the same type, both are arrays of characters as far as i know, actually i had learnt java first and then now i am learning c++, so sometimes its bit confused .... !
sorry if i am wrong ...............
And ya i write the whole program first and then compile in the end, he he
will try to follow your suggestion to compile bit by bit !