Search:

Type: Posts; User: despoil

Search: Search took 0.01 seconds.

  1. Replies
    16
    Views
    2,183

    Doesn't Work

    The code........THANKS SALEM
    [Code]
    #include <stdio.h>
    #include <string.h>
    #define size 50
    int main()
    {
    char staffname[size][20];
    int staffnumber[size];
    int count = 0;
  2. Replies
    16
    Views
    2,183

    Linear Searching

    This is the code


    #include <stdio.h>
    #define size 50
    int main()
    {
    char staffname[size][20];
    int staffnumber[size];
    int count = 0;
  3. Replies
    16
    Views
    2,183

    searching

    Ok this is what my code looks like so far for now


    #include <stdio.h>

    struct staff {
    char *staffname;
    int staffnumber;
    };
  4. Replies
    16
    Views
    2,183

    Ok here is an example of what I'm trying to do ...

    Ok here is an example of what I'm trying to do

    #include <stdio.h>

    {
    char * details[0][0];

    printf("Enter staffname and staffnumber\n");
    scanf("%s%d",...
  5. Replies
    16
    Views
    2,183

    Urgent help on double-subscript Array

    I'm a newbie to c...i'm having problem with an assignment question.

    The question requires a program to read in staff details from keyboard. The details are staffname and staffnumber.
    Once the...
Results 1 to 5 of 5