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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top