Alright, i have a problem here. somehow i need to exclusive or the decimal number 111 and the hex number F6E together. Both are stored as char arrays.
I assume this means converting both values...
Type: Posts; User: drdepoy
Alright, i have a problem here. somehow i need to exclusive or the decimal number 111 and the hex number F6E together. Both are stored as char arrays.
I assume this means converting both values...
and it should be %i not %c.
sorry...im trying to frantically write code and get help from about a million different sources at once.
myinput should be input....my bad, im getting the variables im using in the project confused with the variables i wanted to use online.
yes, i can print each element of a single dimension array
int x[10] = "adsfad";
printf("%c\n",x[3]);
alright, i have absolutly no idea what im doing here, as the concepts of pointers, dynamic memory and 2-d arrays are all new things to me
i have a file that i need to read into a 2-d array...in...
im sorry, i found the problem....it was a stupid beginners mistake.
sorry to waste peoples time.
:)
Ok, i have a function that reads the presses of a keypad attached to a microcontroler that outputs an int value assigned to a specific keypress for example, if the user presses "1" it reurns an...
thanks guys...i sort of have it working
heres the apend part that i have
if (switchvalue == 1){
sprintf(str1,"keys %c%c%c Op:%u",char1, char2, char3, switchvalue);...
alright, i need help on a project in class. Im new with C so be gentle
i have a series of statically assigned character arrays that i need to append and prepend. So heres the scenario:
str1...