Search:

Type: Posts; User: wwwildbill

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,136

    problem with gets and bubble sort

    Why is it that when I run this, I it will ask for the name the first time but when it loops around it will skip asking for name and go straight to asking for the account number??
    I just cant seem to...
  2. Replies
    9
    Views
    1,092

    Thanks guys

    Thanks guys
  3. Replies
    9
    Views
    1,092

    Im not trying to sort the characters...

    Im not trying to sort the characters individually. Is that what you are saying I should do? I just want the name to stay with all of the other info (account_num and balance). Sorry new to C. Do i...
  4. Replies
    9
    Views
    1,092

    HELP - with my sort

    Im having trouble sorting the name array in my bubble sort. The sort works fine with just the account number and balance, but when i add the name into it it doesnt work. Im sure it has something to...
  5. Replies
    2
    Views
    1,041

    Bubble sort problem

    I'm a newbie to C and I'm trying to sort this program by account_num but the bubble sort just wont seem to work. Its say "int to int lacks a cast" What does this mean and what can i do to fix it. ...
  6. Replies
    3
    Views
    1,261

    ok well im just trying to understand this. I...

    ok well im just trying to understand this.


    I thought when i do the prototype it just something like:

    float name(int, float[], float[]);

    then i thought when u call it its

    name(variable1,...
  7. Replies
    3
    Views
    1,261

    function troubles again

    #include <stdio.h>

    float ot_pay(int, float[], float[]);
    float calculate_gross(int, int, float[], float[], float[]);

    main()
    {

    /*Variables*/
  8. Replies
    11
    Views
    999

    Thanks so much! Cant believe I missed that!

    Thanks so much! Cant believe I missed that!
  9. Replies
    11
    Views
    999

    I read that and dont exactly know what you mean. ...

    I read that and dont exactly know what you mean. how would i go about fixing this problem?
  10. Replies
    11
    Views
    999

    #include float ot_pay(int, float,...

    #include <stdio.h>

    float ot_pay(int, float, float);

    main()
    {

    /*Variables*/

    int employees, x;
  11. Replies
    11
    Views
    999

    ya i fixed that and still same error.

    ya i fixed that and still same error.
  12. Replies
    11
    Views
    999

    Need help with functions

    #include <stdio.h>

    float ot_pay(int, float, float);

    main()
    {

    /*Variables*/

    int employees, x;
  13. Replies
    5
    Views
    1,146

    Thanks

    Thanks
  14. Replies
    5
    Views
    1,146

    How would I assign that??? Sorry for my...

    How would I assign that??? Sorry for my incompetence Im new at this.
  15. Replies
    5
    Views
    1,146

    problem returning variables

    #include <stdio.h>

    int get_employees(int);

    main()
    {
    /*Variables*/
    int employees;

    get_employees(employees); /*call function*/
Results 1 to 15 of 15