Search:

Type: Posts; User: Exorcist

Search: Search took 0.00 seconds.

  1. Thread: Help plz

    by Exorcist
    Replies
    14
    Views
    2,187

    I want it to give random numbers within 1 and...

    I want it to give random numbers within 1 and 10.And it'll not give the same number twice. Laserlight told me to use shuffle on an array which contains the numbers from 1-10 . But I couldn't do the...
  2. Thread: Help plz

    by Exorcist
    Replies
    14
    Views
    2,187

    I understand what you mean by shuffle. But I...

    I understand what you mean by shuffle. But I couldn't do it. Actually the logic of shuffle isn't clear to me yet. In the previous thread of mine you told me to use swap. I did try but it didn't give...
  3. Thread: Help plz

    by Exorcist
    Replies
    14
    Views
    2,187

    Thats why I dont know how it works. So making a...

    Thats why I dont know how it works. So making a string array is the only solution for my problem in C?
  4. Thread: Help plz

    by Exorcist
    Replies
    14
    Views
    2,187

    Thanks to MK27 :) Its working fine and I...

    Thanks to MK27 :) Its working fine and I understood how it works.

    And sufoode I did not understand this line



    But thanx everyone for helping me :)
  5. Thread: Help plz

    by Exorcist
    Replies
    14
    Views
    2,187

    Help plz

    I am learning C for some days and I am facing many problems.I have asked for random sorting before and I got some solutions from here but by that time I came up with this code.
    I have been using...
  6. Replies
    5
    Views
    2,231

    Thanx. I have managed to solve the problem. Thanx...

    Thanx. I have managed to solve the problem. Thanx a lot for your help everyone :)
  7. Replies
    5
    Views
    2,231

    problem with random sorting

    I am doing an assignment where I am trying to get random numbers between 1-10.
    But I dont want any number to come more than one time. I am using the following code.


    #include <stdlib.h>...
Results 1 to 7 of 7