Search:

Type: Posts; User: towely

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    3,314

    Wow, that's a fantastic attitude.

    Wow, that's a fantastic attitude.
  2. Replies
    18
    Views
    3,314

    Aha! This was my problem, the code works...

    Aha!
    This was my problem, the code works perfectly now. I should have realized that I needed to search via the correct order of m/d/h/m, not via the order the arrays are in. Thanks for the tip!
    ...
  3. Replies
    18
    Views
    3,314

    Sure, it looks nicer, but isn't the code that I...

    Sure, it looks nicer, but isn't the code that I have technically a valid way to do what I want to accomplish? I'm not a computer science student, and there's a good chance I will never touch C...
  4. Replies
    18
    Views
    3,314

    I read the link on structures, and I understand...

    I read the link on structures, and I understand what they are now, but I don't understand how using those will make my task any easier. I really think I'm pretty close to having this problem solved,...
  5. Replies
    18
    Views
    3,314

    Searching through an Array using Pointers

    I'm continuing on the code discussed in this thread:
    http://cboard.cprogramming.com/c-programming/139377-confused-parsing-csv-txt-file-strtok-fgets-sscanf.html

    I have fourteen arrays populated...
  6. Sounds good, thanks.

    Sounds good, thanks.
  7. Aha! changing %lf to %f in sscan() fixed it....

    Aha! changing %lf to %f in sscan() fixed it. Thanks! I'm glad to know that I had the right idea from the start, and it was just minor things keeping my output from being correct.

    I'll look into...
  8. Hmm, I changed the code as directed, and the...

    Hmm, I changed the code as directed, and the output is still wrong....

    printf("%f\n",a1[2]);
    printf("%f\n",a2[2]);

    on the same line as before outputs these:

    ...
  9. Sorry about the indentation problems. Ah, I...

    Sorry about the indentation problems.

    Ah, I can't believe I forgot to intialize i to 0. I wasn't aware that paths needed two slashes, thanks for that. I figured I was missing something trivial,...
  10. Confused parsing a CSV txt file... strtok, fgets, sscanf

    Hi everyone.

    I'm working with a comma-delimited text file (in this example, it's abc.txt), with the following structure:


    299, 26, 10, 7, 45, 87.688493, 112.055298, 54697, 3362, 1992, 2569,...
  11. Replies
    0
    Views
    884

    Problem with Int Function output

    EDIT: The program worked fine all along. I was just using incorrect input! Sorry, you can delete this thread.
  12. Replies
    3
    Views
    2,333

    Clipping a Triangle of Digits

    I'm attempting to create a computer program that prints a triangle of digits, as well as a "ruler" that measures the user specified width of the screen, showing the width in digits. The ruler must...
Results 1 to 12 of 12