Ask Experts Questions for FREE Help !
Ask
    nasde's Avatar
    nasde Posts: 1, Reputation: 1
    New Member
     
    #1

    Mar 29, 2007, 04:31 PM
    How do you wrie a program using that attatches the random numbers together
    #include
    #include
    #include
    using namespace std;

    int main()
    { int I;
    srand( (int) time(NULL));
    i = rand()%4;
    int num[5] =

    cout
    asterisk_man's Avatar
    asterisk_man Posts: 476, Reputation: 32
    Full Member
     
    #2

    Mar 29, 2007, 05:03 PM
    your code and question is clearly incomplete. Try enclosing your code in a "code block". Put
    HTML Code:
    [code]
    your code
    [/code]
    you want to write a program using what?
    it attaches random numbers together in what way?

    we can certainly help with this question if you can define it more clearly.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Random [ 4 Answers ]

Hey, I've just finished year 12 in australia (a couple of days ago actually) And I've always wondered about american high school... I hear on TV and what not about "softmore's" and "freshmans" What do these terms mean? And are there any more?

Does random exist [ 48 Answers ]

Hello, I was just wondering if random exists within physics. If not, if there's only one way something can happen depending on how it happens, and future events are determined by present and past events.. then surely the future can't be controlled.. it could only happen that one way. Is choice...

Random Errors [ 1 Answers ]

SO I bought new parts to build a new computer, get an Gigabyte M55SLI-S4, Kingston Dual Channel DD2 800 ram, AMD 64 X2 4800, and an ATI Radeon X1600pro, Maxtor SATA HDD, so I start setting up windows, start formating the HDD, and when it starts to install it gives me random error, like ACPI.SYS...

Random toilet flush [ 3 Answers ]

Hi: Hope someone can help. Have ~ 50 yr old toilet with relatively new flapper valve and fill valve that were replaced a year or so ago and toilet worked OK. About two weeks ago toilet would not flush completely and paper etc. would stay in the bowl. When not working, water would slowly...

Random Peeing in House! [ 2 Answers ]

Hi again, Yet another puzzling phenomenon produced by Barkley... our one year old lab mix from the shelter. Here's the story... He has NEVER gone to the bathroom in the house, except for the very first night we had him when he whined at my bedside to go out, and I ignored him, so he...


View more questions Search