I found out that wchar_t has 2 byte but don't know how to use this
On Windows, wchar_t is for 2-byte character sets (i.e. 16-bit Unicode), not for storing two normal chars, e.g.
constchar msg = "Hello world!"; // normal chars
constwchar_t wmsg = L"Hello wide world!"; // Unicode chars (L for long, I suppose.)
Here msg is 13 bytes long (inc. null terminator), whereas wmsg is 26 bytes long.
Note that wchar_t is usually 32-bits on Linux systems (as they use 32-bit Unicode.)
i need 2 byte char type so I can store A+ in array
Do you mean a fixed set of strings, or do you need to change them?
compiler is Borland 5.02
You're using a compiler from 1997? You might want to consider obtaining a new compiler (and IDE). It certaining won't understand the C++11 code that JLBorges posted. (Edit: after looking at the code properly and seeing it isn't C++11.)