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...
Type: Posts; User: caws
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...
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...
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
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...
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,...
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>...
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
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...
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...
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
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 ...
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...
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...
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...
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...