Search:

Type: Posts; User: crenn; Keyword(s):

Search: Search took 0.01 seconds.

  1. Thread: Counting

    by crenn
    Replies
    112
    Views
    83,387

    Re: Counting

    Ooooo.... I like the sound of that.
  2. Thread: Counting

    by crenn
    Replies
    112
    Views
    83,387

    Re: Counting

    I'll post the source code I had (it's complete but didn't submit it in time)
  3. Thread: Counting

    by crenn
    Replies
    112
    Views
    83,387

    Re: Counting

    I'm pondering if I should do it or not... because your 9PM is a lot different for me (6AM)
  4. Thread: Counting

    by crenn
    Replies
    112
    Views
    83,387

    Re: Counting

    I assumed it was outputting it to a file. But if it's just displaying it, then I'll be able to do that very easily.
  5. Thread: Counting

    by crenn
    Replies
    112
    Views
    83,387

    Re: Counting

    Time it takes to output the numbers to a file.
  6. Thread: Counting

    by crenn
    Replies
    112
    Views
    83,387

    Re: Counting

    1billion is possible. I'm not sure why others are having problems with RAM.
  7. Thread: Counting

    by crenn
    Replies
    112
    Views
    83,387

    Re: Counting

    1M: 1.108s
    2M: 2.457s
    5M: 6.221s
    10M: 12.460s
    1Bil: -Estimated time of around 22 minutes, I'll do it later-

    What do you think? Oh, I should mention that these were run on my uni laptop (1.6GHz...
  8. Thread: Counting

    by crenn
    Replies
    112
    Views
    83,387

    Re: Counting

    If we're going to talk about letting the compilers to optimize, 0 to 10,000,000,000 in 0.000 seconds (ie too faster for the program) ;)
  9. Thread: Counting

    by crenn
    Replies
    112
    Views
    83,387

    Re: Counting

    Something doesn't quite seem right with that program.
  10. Thread: Counting

    by crenn
    Replies
    112
    Views
    83,387

    Re: Counting

    Read values from a file, dynamically allocates memory, does some calculations with it (according to the assignment) and prints calculated information on the screen. It's about 60% done.
  11. Thread: Counting

    by crenn
    Replies
    112
    Views
    83,387

    Re: Counting

    Seems someone wants my assignment code ;)

    For everyone's information, the code won't really help you do this task.
  12. Thread: Counting

    by crenn
    Replies
    112
    Views
    83,387

    Re: Counting

    Java gives me a headache... most likely because I don't know how to program it.

    Currently I'm holding off this comp because of the fact I need to complete my C assignment. If you want the source...
  13. Thread: Counting

    by crenn
    Replies
    112
    Views
    83,387

    Re: Counting

    Why do I have a feeling I'm going to have to learn multithreading now.....

    Should I take a link down to my C code which counts (doesn't store to a file though)?

    EDIT: Also does the version of...
Results 1 to 13 of 13