Hi There,
I have a string for example
char string = "D100"
I need to find a way to convert this to ascii and put each character into a int defined variable in a structure. I'll give an example below.
char string = "D100"
converted to ASCII its 44 31 30 30
i have a structure with defined ints and need to do the following
send[1]=44
send[2]=31
send[3]=30
send[4]=30
how do i do this in c
thanks in advance
james