Any idea why this thing crashes? see code above
Type: Posts; User: keelhauled
Any idea why this thing crashes? see code above
Okay, found the print error and now it compiles all fine (finally!) but now when I goto run it the program crashes.
#include <stdio.h>
#define MAX_TBL_SIZE 30
#define MIN_STOCK_LEVEL 10...
Ok, this is what I have as of now.
#include <stdio.h>
#define MAX_TBL_SIZE 30
#define MIN_STOCK_LEVEL 10
#define MAXSTRING 100
int counter, stock[MAX_TBL_SIZE],...
Not sure what you mean by incrementing the counter then...
Thanks for the help though, its finally coming along.
Now I have a problem in my switches
void ActionCode(int *);
switch...
I declared ifp, see my edit above, now my problem is getting incompatible type for argument 1 of fscanf as well as fgetc in this code
void input(FILE ifp, int input_item_id[counter], int...
I'm having trouble with the coding for the imput file, this is what I got, it gives me an error saying ifp is undeclared.
void input(FILE ifp, int input_item_id[counter], int...
Hey everyone,
Have an assignment to create a retail management system using arrays.
I guess what I need help on is with writing arrays and fuctions that would modify them.
I know there are...
Vidio, Im in the same class as you. I can't send you a PM yet, prob cause I just registered today, sorry I didnt see this post earlier in the week I had the parts you were having trouble with all...
It seems as if once func_option is stored and used once, when I go back to the menu to overwrite it again the thing just closes, no error or nothing. Thats what happens everytime with all the...
I told it to return menu() because I want the menu to return everytime it's done with running the fuctions for that menu choice. My problem is that the first run through goes fine, then the second...
I have been staring at this program for school which is supposed to be a dummy atm machine and I can't figure out why, but after the first run through of the program it closes automatically, right...