I believe I found it!
fgets(buf, 100, inFile);removeNL(buf);
token = strtok(buf, s);
t = strtok(NULL," ");
strcpy(new->AgencyInfo.AgencyName, t);
Thank you for your help getting me...
Type: Posts; User: dubya1382
I believe I found it!
fgets(buf, 100, inFile);removeNL(buf);
token = strtok(buf, s);
t = strtok(NULL," ");
strcpy(new->AgencyInfo.AgencyName, t);
Thank you for your help getting me...
I'm thinking that the colon might not be a good delimiter based on a need to provide a time example. I've attached what the input file would look like. I'm thinking of changing the ':' to a '-' to...
I am trying to read in a string from a file (easy enough). But I am then trying to remove the first word or two to be able to save only the trailing information.
Example of inFile text would be: ...
That did the trick! Thanks...
It's amazing how such a small thing to overlook can cause such odd behavior...lol
I am writing a program that would allow a user to input the name of the file they wish to open. I have added in there an option to enter a specific character ("Q" in this instance) to return to the...
That worked! I guess I was just staring at the screen too long to try and look at it from a different perspective.
Thanks!
I have created a struct that has a record defined as "char pprNum"
This is meant to hold the approval code for the application request (I'm creating a request form). The information inside of it...
I am writing a program that will assign a unique code to a given requestor. The format will be *issuer initials (3 characters)* - *random 4-digit integer*-*date (format is last digit of year +...