Search:

Type: Posts; User: dubya1382

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    4,841

    I believe I found it! fgets(buf, 100,...

    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...
  2. Replies
    4
    Views
    4,841

    I'm thinking that the colon might not be a good...

    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...
  3. Replies
    4
    Views
    4,841

    Remove first few words from a string

    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: ...
  4. Replies
    3
    Views
    6,310

    That did the trick! Thanks... It's amazing...

    That did the trick! Thanks...

    It's amazing how such a small thing to overlook can cause such odd behavior...lol
  5. Replies
    3
    Views
    6,310

    Help with user-defined input file name

    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...
  6. That worked! I guess I was just staring at 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!
  7. I have created a struct that has a record defined...

    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...
  8. Help with creating a string from other strings/integers

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