Search:

Type: Posts; User: drdepoy

Search: Search took 0.09 seconds.

  1. Replies
    2
    Views
    1,419

    Hex Chars to Binary

    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...
  2. Replies
    5
    Views
    2,342

    and it should be %i not %c. sorry...im trying...

    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.
  3. Replies
    5
    Views
    2,342

    myinput should be input....my bad, im getting the...

    myinput should be input....my bad, im getting the variables im using in the project confused with the variables i wanted to use online.
  4. Replies
    5
    Views
    2,342

    yes, i can print each element of a single...

    yes, i can print each element of a single dimension array


    int x[10] = "adsfad";


    printf("%c\n",x[3]);
  5. Replies
    5
    Views
    2,342

    2-d arrays and fscanf

    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...
  6. Replies
    3
    Views
    2,442

    im sorry, i found the problem....it was a stupid...

    im sorry, i found the problem....it was a stupid beginners mistake.

    sorry to waste peoples time.

    :)
  7. Replies
    3
    Views
    2,442

    Function returns null value instead of zero

    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...
  8. Replies
    4
    Views
    1,081

    thanks guys...i sort of have it working heres...

    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);...
  9. Replies
    4
    Views
    1,081

    student needs help with C strings

    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...
Results 1 to 9 of 9