Search:

Type: Posts; User: lotus

Search: Search took 0.01 seconds.

  1. Replies
    17
    Views
    3,201

    >If everyone is struggling, then the pace needs...

    >If everyone is struggling, then the pace needs to be revised.
    The course has a 65% failure rate. I am working with others in this course and they are all coping at roughly the same rate I am.
    ...
  2. Replies
    17
    Views
    3,201

    I have attached a "portion" of the code however I...

    I have attached a "portion" of the code however I don't think it would be enough to assist me any further.

    It is discerning that you are "worried by the apparent size of this program, and the...
  3. Replies
    17
    Views
    3,201

    Thanks Salem but I tried that and it won't open...

    Thanks Salem but I tried that and it won't open the file for me. I just get a blank screen (yes I checked to make sure that there was indeed data in the text file).

    Any other suggestions? ...
  4. Replies
    17
    Views
    3,201

    Yes, I agree that I have a scope problem. That's...

    Yes, I agree that I have a scope problem. That's why I didn't want to post the whole code (it is very long).

    My assignment specs state "Bank is the disk-name of an item-file to be validated"
    ...
  5. Replies
    17
    Views
    3,201

    Sorry Salem, I missed a part of the code when I...

    Sorry Salem, I missed a part of the code when I was pasting it. It should read:

    if (bank != NULL)
    ...
  6. Replies
    17
    Views
    3,201

    I'm calling it as follows: if(validate_file (...

    I'm calling it as follows:

    if(validate_file ( Bank, D_A, summary ) )
    {
    (bank != NULL)
    {
    printf("Error 7: Unable to open itembank file.\n");
    printf("try to use...
  7. Replies
    17
    Views
    3,201

    Thanks for reply Salem. I agree that better...

    Thanks for reply Salem. I agree that better variable names would have been ideal however they are part of my assignment of which I cannot change. I think they do that to keep us on our toes.
    ...
  8. Replies
    17
    Views
    3,201

    Thanks for replying Shadow. Yes it is late and...

    Thanks for replying Shadow. Yes it is late and yes it is confusing.

    I am opening the text file to validate certain conditions within the text. For example if a line reads more than 64...
  9. Replies
    17
    Views
    3,201

    Opening a text file in C

    I have a program that is to open a text file. The code compiles, appears to validate as it should and so on....except:

    If I used this code to open the file:

    bank =...
  10. Replies
    7
    Views
    2,020

    Thank you

    I just wanted to post my thanks to all that helped with my code. Every reply put me in the direction I needed to correct it.
  11. Replies
    7
    Views
    2,020

    Good point Sebastiani - and thank you for...

    Good point Sebastiani - and thank you for responding to my post so quickly!

    I have only defined the maximum number of items in my header file as #define MAXITEMS 1000. Does it appear that I am...
  12. Replies
    7
    Views
    2,020

    C code assistance please

    I have been working on this code for over 2 weeks now and it finally compiles. I am required to open a text file and validate it. It is supposed to then print the applicable errors to screen .
    ...
Results 1 to 12 of 12