Search:

Type: Posts; User: WranglerYJ

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    4,216

    Help Please

    Help Please
  2. Replies
    12
    Views
    4,216

    So inside of the function i created (well you...

    So inside of the function i created (well you did)


    void printFemale(Employee s[], int num) {
    int i;
    Employee empList[1] = {{"F"}};



    printf( "The Female Employees...
  3. Replies
    12
    Views
    4,216

    So you created an array that contains an "F", and...

    So you created an array that contains an "F", and then I can use that to check it against s[i].sex[0]? would i use strcmp. Brand new to programming so I'm sorry if I don't make myself clear. Really...
  4. Replies
    12
    Views
    4,216

    Something wrong with the parameters of the call?...

    Something wrong with the parameters of the call? I thought it was supposed to be the structure and the then the integer in the call, but when I try Employee[] it says type not allowed and I have...
  5. Replies
    12
    Views
    4,216

    Any ideas?

    Any ideas?
  6. Replies
    12
    Views
    4,216

    I tried that before, the if statement which is ...

    I tried that before, the if statement which is



    void printFemale(Employee s[], int num) {
    int i;


    printf( "The Female Employees Are\n");
    for( i = 0; i < num; ++i )
  7. Replies
    12
    Views
    4,216

    Help checking a character in a structure

    I am currently writing a function that checks whether a character string contains an "F" or "M". I have tried strcmp() and a if statement. Here is the code I have tried, any help would be much...
Results 1 to 7 of 7