I am programing in C and i have an array of chars a[20], and I have an int b. I am triing to copy the fourth element of the array a[3] into the int b. I wrote something like this:
Code:
a= (int*)&prcsData->appData[3];
Best Regards,
BoSCHoW.
|
Go4Expert Member
|
|
| 21Mar2008,12:51 | #1 |
|
Hello,
I am programing in C and i have an array of chars a[20], and I have an int b. I am triing to copy the fourth element of the array a[3] into the int b. I wrote something like this: Code:
a= (int*)&prcsData->appData[3]; Best Regards, BoSCHoW. |