char * to char16]

lty

Joined
Aug 24, 2006
Messages
1
Reaction score
0
Hello,
I am using VC8 with win XP SP2. I am using a third party SDK in C.In that I have a struct struct ab{...
...
...
...
char a[16]
...


}
In my program I want to give value to char a[16]. But the value is 11 char only.
Then I got an error saying cannot convert from char[16] to const char[11].
How can I do the initialisation.

ANy Help
 
Back
Top