Search:

Type: Posts; User: jduke44

Search: Search took 0.00 seconds.

  1. Thread: unions

    by jduke44
    Replies
    2
    Views
    2,468

    all set

    Ok, I figured it out. It was down the line I forgot the 'f' in one of my scanf statements. I looked at it 20 times and never caught it until now. Thanks for replying and sorry for wasting your time.
  2. Thread: unions

    by jduke44
    Replies
    2
    Views
    2,468

    unions

    How do I read in from the keyboard when using unions.?

    my code:

    printf("Type a character: \n");
    scanf("%c", number.c);

    I am getting this error:

    /tmp/cc6fjFyR.o(.text+0x5f): In function...
  3. Replies
    9
    Views
    2,458

    much appreciated!

    I had 4 other programs to write so I left this for a couple days and noticed the other replies. Thanks guys for your help. I have been racking my brain trying to figure this out. I had part of it...
  4. Replies
    3
    Views
    1,468

    message gone

    Well, at least the message went away. I stil have some figuring to do withe actual functions. The book showed 3 functions and used the choice like I had it, that's why i did it that way. Thanks guys...
  5. Replies
    3
    Views
    1,468

    Function pointers

    I have to create menu driven system using function pointers

    I have this:



    void minimum(int grades[][ EXAMS ], int pupils, int tests );
    void maximum(int grades[][ EXAMS ], int pupils, int...
  6. Replies
    9
    Views
    2,458

    Thanks for your input. I know I read somewhere...

    Thanks for your input. I know I read somewhere about using the [5][20]. I will read that link. Thanks again.

    I just clicked on it. I thought I looked at the FAQ for this. Well, maybe it was for...
  7. Replies
    9
    Views
    2,458

    Thanks for the quick response. I appreciate you...

    Thanks for the quick response. I appreciate you getting me started. This gives me an idea as to what I am trying to do. As far as the [5][20], I thought I saw that in an example in the book or on the...
  8. Replies
    9
    Views
    2,458

    rand() function

    I need to do HW assignment that creates a sentence. I need to use random generation. I understand it using numbers but I am clueless when it comes to something like this. Here's my portion of code I...
  9. Thread: strtok

    by jduke44
    Replies
    2
    Views
    1,551

    sorry

    I found this site under desperate moments and just realized that is what the "announcements" had said. I will make sure I abide by that the next time. Wow, this seemed really easy. Why couldn't I...
  10. Thread: strtok

    by jduke44
    Replies
    2
    Views
    1,551

    reverse string

    I know this was a long time ago this was posted but I was hoping someone could help. I know how to use strtok but after everything is tokenized how would I print everything in reverse order. If...
Results 1 to 10 of 10