Search:

Type: Posts; User: caws

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,821

    thats what I thought.. so I put it where I...

    thats what I thought.. so I put it where I thought and it didnt work.. so I posted.. and then checked my emails and surfed a bit.. then came back.. once I saw your post, I opened my program and...
  2. Replies
    2
    Views
    1,821

    poiner problem in function

    I am getting this error when the linked list pointer passes through the calc_gross function. Not sure why?

    error:
    warning in function calc_gross
    parse error at the end of input

    here is my...
  3. putting strings together through structures & functions

    I can get the names entered in this code but the output is strange characters.


    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>

    #define NUM_EMPL 5

    struct employee
  4. Replies
    9
    Views
    1,942

    thank

    first of all you gave me a good laugh this morning with all your lol.. I needed that. 2nd I cant believe it was something so simple and I didnt see it. I think when looking at a program so long...
  5. Replies
    9
    Views
    1,942

    i also just fixed this.. and still getting wrong...

    i also just fixed this.. and still getting wrong "clock" returned



    printf ("%06lu\t\t%7.2f\t\t%7.2f\t\t%7.2f\t\t%7.2f\n", emp[count].clock,
    emp[count].wage,...
  6. Replies
    9
    Views
    1,942

    more code

    I found that and several other errors I am still getting strange output.. I have completed my program but for some reason my "clock" is not passing the correct data.



    #include <stdio.h>...
  7. Replies
    9
    Views
    1,942

    I revised

    Now I am getting strage output.



    #include <stdio.h>
    #include <stdlib.h>

    #define NUM_EMPL 5
    #define OVERTIME_RATE 1.5
    #define STD_WORK_WEEK 40.000
  8. Replies
    9
    Views
    1,942

    sorry did he code code wrong

    I am trying to figure out how this works. So far I thought I understood it and yet it wont compile. ?? (this is only a small piece of the whole program, trying to just get one piece to work at at...
  9. Replies
    9
    Views
    1,942

    structure arrays to functions

    I am trying to figure out how this works. So far I thought I understood it and yet it wont compile. ?? (this is only a small piece of the whole program, trying to just get one piece to work at at...
  10. Replies
    9
    Views
    4,767

    sure thing

    When I input the number to make the magic square, for instance in this case I use 3 as an example. The magic square does not build, instead I get an output of




    897
    897
    897
  11. Replies
    9
    Views
    4,767

    tried to use hin t to fix values passed and no luck still

    I am just not seeing something obvious I am sure.. but I just cant get it... to me it all seems right and I know its not because it doesnt work.




    #include<stdio.h>

    #define MAX_SIZE 15 ...
  12. Replies
    9
    Views
    4,767

    still having problems

    I have tried the suggestion as follows.. and cant get that to work
    2nd code is my code which wont work either...I just cant figure what I am doing wrong.. when I pull it out of functions it...
  13. Replies
    9
    Views
    4,767

    magic square whoes

    I am trying to figure this out. I wrote the program without functions but need to have it with functions. Once I tried to put the code in functions I cant get it to work. I need to have a magic...
  14. Replies
    5
    Views
    1,188

    I have to say thank you to all of you. With your...

    I have to say thank you to all of you. With your help I now grasp the passing by reference an array from one function to another and I completed my program.

    I think this web board is a great way...
  15. Replies
    5
    Views
    1,188

    passing arrays to a function

    I am having a problem with how to pass the data collected in one function as an array to the next function.

    I collected the amount of items with my first fuction as follows:

    void input_items...
Results 1 to 15 of 15