Search:

Type: Posts; User: keelhauled

Search: Search took 0.01 seconds.

  1. Replies
    21
    Views
    2,849

    Any idea why this thing crashes? see code above

    Any idea why this thing crashes? see code above
  2. Replies
    21
    Views
    2,849

    Okay, found the print error and now it compiles...

    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...
  3. Replies
    21
    Views
    2,849

    Ok, this is what I have as of now. #include...

    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],...
  4. Replies
    21
    Views
    2,849

    Not sure what you mean by incrementing the...

    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...
  5. Replies
    21
    Views
    2,849

    I declared ifp, see my edit above, now my problem...

    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...
  6. Replies
    21
    Views
    2,849

    I'm having trouble with the coding for the imput...

    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...
  7. Replies
    21
    Views
    2,849

    Retail Management

    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...
  8. Replies
    44
    Views
    3,257

    Vidio, Im in the same class as you. I can't send...

    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...
  9. Replies
    3
    Views
    1,985

    It seems as if once func_option is stored and...

    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...
  10. Replies
    3
    Views
    1,985

    I told it to return menu() because I want 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...
  11. Replies
    3
    Views
    1,985

    Program ends unexpectedly

    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...
Results 1 to 11 of 11