>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.
...
Type: Posts; User: lotus
>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.
...
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...
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? ...
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"
...
Sorry Salem, I missed a part of the code when I was pasting it. It should read:
if (bank != NULL)
...
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...
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.
...
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...
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 =...
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.
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...
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 .
...