Search:

Type: Posts; User: Jaxtomtom89

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    2,398

    Sorting array structures

    How do I sort arrays structures? I just need a quick explanation or small ex. to lead me in the direction.


    */
    This program requires three command arguments: The text file name,
    ...
  2. Figured it out. Thanks

    Figured it out. Thanks
  3. Passing and using a Array nested Structure

    This project requires me to take an input file and scan its information into an nested array structure. So far I have finally been able to fill the nested structure after converting the file's...
  4. Replies
    4
    Views
    1,058

    Thank you all for the replies. I ended up using...

    Thank you all for the replies. I ended up using Jesius's reply code because it's what we covered in class and is allowed on projects. It's working like a charm.
  5. Replies
    4
    Views
    1,058

    Nested Structures and fscanf

    Hello. I am working on a project in which I need to take data from an input file and scan it into a array structure. The structure contains a nested structure. The BDATE structure is nested within...
  6. Replies
    6
    Views
    2,906

    At msh: Thanks for looking at it again. I found...

    At msh: Thanks for looking at it again. I found it out as soon as I took a second look at the loop.

    Swapped placements of randNum expression and printf, and set printf to print randNum instead.
  7. Replies
    6
    Views
    2,906

    To msh: Thank you for looking at it. I know it...

    To msh: Thank you for looking at it. I know it was a lot. The program is setup so that zero is counted as an even too. That's what our teacher wants. The problem is that counts are still off. ...
  8. Replies
    6
    Views
    2,906

    Random Number Generator Counts

    // functon genRandom receives the four parameters to use for the pseud-random
    // number generator. It generates the numbers, prints them, and calls
    // the subfunction addToCounts for specific...
  9. Replies
    6
    Views
    993

    Thank you for all the help. I was able to finish...

    Thank you for all the help. I was able to finish this part of the program with the help.

    Cheers!
  10. Replies
    6
    Views
    993

    O haha! You are a savior! Our teacher never...

    O haha! You are a savior! Our teacher never taught us about using 'if statements' and 'functions calls' together. I didn't realize putting the function in the 'if' actually sent a call too. This...
  11. Replies
    6
    Views
    993

    The program will ask for inputs regardless what I...

    The program will ask for inputs regardless what I input. The error messages do come up if input is incorrect though. So what I think is happening is that the subfunctions are being called multiple...
  12. Replies
    6
    Views
    993

    Incremental program

    Hello, I am building the following program. It compiles but I am not getting exactly what I want. I know I must be using the if statements illogically. I have stared and worked on this project for...
  13. Replies
    6
    Views
    28,943

    Thanks, I love you (no homo) :) I would...

    Thanks, I love you (no homo) :)

    I would never have noticed this and I've been working on this project for many hours. I will play around with this.
  14. Replies
    6
    Views
    28,943

    Thanks again. This is the code. Trying to do...

    Thanks again. This is the code. Trying to do the one subfunction correctly before I do the rest.




    /* This program will prompt the user for a seed value, a lower bound value,
    an...
  15. Replies
    6
    Views
    28,943

    It's funny because I've tried this already and it...

    It's funny because I've tried this already and it does compile, but the program will crash when I enter input. "*pSeed" causes it to crash which makes no sense to me.

    Thank you for the quick...
  16. Replies
    6
    Views
    28,943

    Boolean function returns

    Hello. I'm in an introductory computer science class and so far it's been okay. With our most recent project, we've been told to come up with a program that prompts the user for four integers that...
Results 1 to 16 of 17