Search:

Type: Posts; User: jthunder

Search: Search took 0.01 seconds.

  1. Thats what i just figured out. thanks for the help

    Thats what i just figured out. thanks for the help
  2. any examples of a double pointer with this file...

    any examples of a double pointer with this file pointer?
  3. lol ive made it a mess from messing with...

    lol ive made it a mess from messing with different things to figure this out

    searchFile

    thanks, ill try that
  4. Debug assertion failure (EXPRESSION: Str ! = null )

    My program is supposed to read from a file to check number of words sentences ETC. It does this so far until I move the code into separate functions. It gives me the error that is in the topic title....
  5. I had it really neat before but I was trouble...

    I had it really neat before but I was trouble shooting and moving stuff around. Anyway its working now, I appreciate the tip. Thanks.
  6. Reading # of characters and words from a file

    It works for one or the other, but not both. If I put in both sections of code (character count and word count) it will have the word count return 0 to the counter. If I take one away, they work...
  7. Need advice on keeping rand values permanent in array after getting them

    I've gotten them by using "rand() % 100;", range being 0-100. However, When I store the values into an array one by one on separate lines, I would like them to stay the same from that point on....
  8. Replies
    3
    Views
    690

    Doing a school project on times in a race. One...

    Doing a school project on times in a race. One question is the total time. So you have four times added together to get the total time. BUT I have to have it in the minute second format like I posted...
  9. Replies
    3
    Views
    690

    How to make times appear as "2:22.53"?

    Im just now finishing up my project, thanks to all who gave input. But I have this one issue


    /*Scanning values in for ^^ 200 m race*/
    scanf("%f %f %f %f", &lcm[0], &lcm[1], &lcm[2], &lcm[3]); ...
  10. Replies
    14
    Views
    7,223

    I got this in compile time warnings warning...

    I got this in compile time warnings

    warning C4244: 'return' : conversion from 'int' to 'float', possible loss of data

    it works but i get a lot of those warnings
  11. Replies
    14
    Views
    7,223

    This is what I ended doing for the fastest 50....

    This is what I ended doing for the fastest 50. Maybe inefficient..what do you think? Im sure there is a better way but it works..


    /*Function to compute info for first race*/ float longcourse...
  12. Replies
    14
    Views
    7,223

    Thanks to all who have helped so far. I actually...

    Thanks to all who have helped so far. I actually am almost finished. My question is how would one find the largest and smallest value in an array, when the values in the array have been entered in by...
  13. Replies
    14
    Views
    7,223

    Great. I'll get started now and post later. Thanks

    Great. I'll get started now and post later. Thanks
  14. Replies
    14
    Views
    7,223

    Thanks for posting the link to that chapter on...

    Thanks for posting the link to that chapter on arrays! very helpful. I'm thinking I'm going to have to scan the values into the array and use them to answer the questions. If I have that correct I...
  15. Replies
    14
    Views
    7,223

    Thanks a lot guys. I am starting to work on it...

    Thanks a lot guys. I am starting to work on it again now. Its due tomorrow at midnight so hopefully ill cover a lot of ground today. Much appreciated
  16. Replies
    14
    Views
    7,223

    Thanks for the reply. That sounds good man, ill...

    Thanks for the reply. That sounds good man, ill get started and i appreciate the tips. ill be sure to post back in this thread.
  17. Replies
    14
    Views
    7,223

    College project on arrays and functions

    First post here

    Im a computer science major and my c programming class was assigned a project and i was wondering if someone could give me a push. its on arrays and functions. We use K.N. King's c...
Results 1 to 17 of 19