urgent

This is a discussion on urgent within the C Programming forums, part of the General Programming Boards category; please help me about that, i have to find this code very urgent. the program i wanna write gives me ...

  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    4

    probability

    please help me about that, i have to find this code very urgent. the program i wanna write gives me all of the probabilities of a 6/49 lottery. like that:

    2 3 49 28 22 11
    1 3 23 12 13 43
    . . . . . .
    . . . . . .



    it should give me 13983816 results.

    thank u
    Last edited by bestrookie; 04-18-2006 at 04:11 PM.

  2. #2
    Mad OnionKnight's Avatar
    Join Date
    Jan 2005
    Location
    Umeň, Sweden
    Posts
    555
    ITT we violate board rules.

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    Hmm, I count three violations of Cboard's posting rules with this thread.

    1) Urgent for you isn't urgent for us. Telling us your problem is urgent is more likely to get you ignored than helped. Your thread title is completely uninformative. Quite a few people will avoid even reading it because of that.

    2) We're not www.rent-a-coder-for-free.com.

    3) We're a public forum, not an email help service. As such, any answers you'll get will be here. On top of that, asking for an email response suggests that you have no intention of returning and simply want us to do your work and send you the result.
    My best code is written with the delete key.

  4. #4
    Registered User
    Join Date
    Apr 2006
    Posts
    4
    thanks for informing me about your rules, after informing me u could at least write a few things about my question. i am sorry but i found your sentences so rude. u could be in a better way as telling me wht is true or not.

  5. #5
    Registered User
    Join Date
    Aug 2003
    Posts
    1,209
    Why dont you show us what you have so far and we will help you from there (with specific problems).
    STL Util a small headers-only library with various utility functions. Mainly for fun but feedback is welcome.

  6. #6
    Registered User
    Join Date
    Apr 2006
    Posts
    4
    i ve had nothing yet, actually i dont know wht is the way to trace

  7. #7
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >after informing me u could at least write a few things about my question
    I would have, if there were a question to answer. All you did was ask for a solution, and that's not what this forum is for.

    >i am sorry but i found your sentences so rude.
    Most people do find my sentences rude when I explain their mistakes. I think it's more about being insulted that I would have the nerve to correct them than my actually being rude.

    >u could be in a better way as telling me wht is true or not.
    Somehow, I get the impression that you would be insulted regardless of how polite I managed to word my post.
    My best code is written with the delete key.

  8. #8
    Registered User
    Join Date
    Apr 2006
    Posts
    4
    ok i want to finish this argument, i am also sorry about violition of rules. i just dont want anything else except C programming.
    sincerely

  9. #9
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Well if you haven't done so, read the forum guidelines. They're located at the top of the forum. Take your time, read'm slowly; they're not going anywhere. Then, post your attempt at the code. Take it one step at a time. For example, you might start with simply reading the series of numbers in...


    Quzah.
    Hope is the first step on the road to disappointment.

  10. #10
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220
    Christ get out and come back when you have a question that doesn't involve us writing your entire project for you.

  11. #11
    Madly in anger with you
    Join Date
    Nov 2005
    Posts
    211
    dude what you are asking for is not exactly a simple program.

    where are you getting the number 13983816 from??? is that all the possible 6 number combinations from 1-100?

    try starting with something a little more practical for your skill level. for example, find and print all possible combinations of the numbers 1 2 3 4 5 6, you might even find this hard, but it is a more reasonable goal for someone new to C programming.
    Last edited by Bleech; 04-18-2006 at 04:30 PM.

    Intel Core 2 Quad Q6600 @ 2.40 GHz
    3072 MB PC2-5300 DDR2
    2 x 320 GB SATA (640 GB)
    NVIDIA GeForce 8400GS 256 MB PCI-E

  12. #12
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,855
    Eof.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. display character size...(quite urgent..)
    By karthi in forum C Programming
    Replies: 10
    Last Post: 07-11-2007, 10:42 PM
  2. beginner plzz help urgent
    By sara101 in forum C Programming
    Replies: 11
    Last Post: 01-14-2007, 10:38 PM
  3. Linked List Need Help Urgent
    By ykchua in forum C Programming
    Replies: 5
    Last Post: 08-17-2004, 03:57 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21