need help on a small programm

This is a discussion on need help on a small programm within the C Programming forums, part of the General Programming Boards category; Hi, I have a "big problem" because I'm more than a beginner in C and I have to make a ...

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    2

    need help on a small programm

    Hi, I have a "big problem" because I'm more than a beginner in C and I have to make a small program that extract a random number from a given range. I also want to ask if I can make something like that to work with excel - I have a numbered list of persons in excel and i should random extract one person. Can a little program generate a random number based on numbers in excel list and then in output to show the generated number and the person who has this number? Can anyone help me with hints or other resources? Please ...
    Thank you,

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,668
    http://faq.cprogramming.com/cgi-bin/...&id=1043284385

    Excel also has a rand() function, which can be used in much the same way.
    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.

  3. #3
    Registered User
    Join Date
    Jul 2005
    Posts
    2
    thanx for the answer

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Bush's address
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 51
    Last Post: 09-27-2008, 03:44 PM
  2. how to split long programe in small files
    By umeshjaviya in forum C Programming
    Replies: 11
    Last Post: 04-15-2008, 02:45 AM
  3. want to make this small program...
    By psycho88 in forum C++ Programming
    Replies: 8
    Last Post: 11-30-2005, 01:05 AM
  4. FILES in WinAPI
    By Garfield in forum Windows Programming
    Replies: 46
    Last Post: 10-02-2003, 06:51 PM
  5. yhatzee, small straight
    By uglyjack in forum C++ Programming
    Replies: 2
    Last Post: 06-13-2002, 03:09 AM

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