Geekpedia Tutorials Home

Building a C# Chat Client and Server

Building a C# Chat Client and ServerA step by step tutorial teaching you how to create your own chat client and chat server easily in C#, for local networks or the Internet.

in C# Programming Tutorials

Getting Hard Drive Information

Getting Hard Drive InformationA C# tutorial showing you how to make use of WMI to extract information on disk drives, such as model, capacity, sectors and serial number.

in C# Programming Tutorials

UPS Shipping Calculator

UPS Shipping CalculatorThis tutorial will teach you how to calculate the shipping cost based on the weight, height, length and depth of the box, the distance and the UPS service type.

in PHP Programming Tutorials

Create Your Own Rich Text Editor

Create Your Own Rich Text EditorCreating a Rich Text Editor using JavaScript is easier to do than you might think, thanks to the support of modern browsers; this tutorial will walk you through it.

in JavaScript Programming Tutorials
Search
Tutorials
Programming Tutorials
IT Jobs
From CareerBuilder

Random Number Generation

Generate random ints, floats, and doubles with ease.

On Sunday, April 25th 2004 at 01:54 PM
By Sean Eshbaugh (View Profile)
****-   (Rated 3.3 with 28 votes)
Contextual Ads
More C Resources
Advertisement

It is not uncommon at all for a program to require random numbers for one thing or another. For the most part the standard rand() function works just fine, but what do we do when we need to generate numbers within a range? Or what about generating random floating point numbers? Well look no further, here is a simple, but very useful, set of functions to do just that. Oh, and because I'm feeling generous I'm going to include some basic random string generation functions.

To use these functions you need to include the following files <stdlib.h>, <time.h>, and <string.h>.

//use this first function to seed the random number generator,
//call this before any of the other functions
void initrand()
{
    srand((unsigned)(time(0)));
}

//generates a psuedo-random integer between 0 and 32767
int randint()
{
    return rand();
}

//generates a psuedo-random integer between 0 and max
int randint(int max)
{
    return int(max*rand()/(RAND_MAX+1.0));
}

//generates a psuedo-random integer between min and max
int randint(int min, int max)
{
    if (min>max)
    {
        return max+int((min-max+1)*rand()/(RAND_MAX+1.0));
    }
    else
    {
        return min+int((max-min+1)*rand()/(RAND_MAX+1.0));
    }
}

//generates a psuedo-random float between 0.0 and 0.999...
float randfloat()
{
    return rand()/(float(RAND_MAX)+1);
}

//generates a psuedo-random float between 0.0 and max
float randfloat(float max)
{
    return randfloat()*max;
}

//generates a psuedo-random float between min and max
float randfloat(float min, float max)
{
    if (min>max)
    {
        return randfloat()*(min-max)+max;    
    }
    else
    {
        return randfloat()*(max-min)+min;
    }    
}

//generates a psuedo-random double between 0.0 and 0.999...
double randdouble()
{
    return rand()/(double(RAND_MAX)+1);
}

//generates a psuedo-random double between 0.0 and max
double randdouble(double max)
{
    return randdouble()*max;
}

//generates a psuedo-random double between min and max
double randdouble(double min, double max)
{
    if (min>max)
    {
        return randdouble()*(min-max)+max;    
    }
    else
    {
        return randdouble()*(max-min)+min;
    }
}

char* randstr(char* str, unsigned long length)
{
    //make we were passed a valid pointer
    if (!str)
    {
        return 0;
    }

    //make sure the string is supposed to contain something
    if (!length)
    {
        return 0;
    }

    //put random characters into the string, give both
    //upper and lower case numbers an equal chance at
    //being used
    for (unsigned long x=0;x<length-1;x++)
    {
        if (!randint(1))
        {
            str[x]=(char)randint(65,90);
        }
        else
        {
            str[x]=(char)randint(97,122);
        }
    }

    //null terminate the string
    str[x]=0;

    return str;
}

//flags for the extended randstr function
#define RAND_STR_CAPITOL_LETTERS    0x00000001    //65 through 90
#define RAND_STR_LOWER_CASE_LETTERS    0x00000002    //97 through 122
#define    RAND_STR_NUMBERS        0x00000004    //48 through 57
#define RAND_STR_SYMBOLS_1        0x00000008    //32 through 47
#define RAND_STR_SYMBOLS_2        0x00000010    //58 through 64
#define RAND_STR_SYMBOLS_3        0x00000020    //91 through 96
#define RAND_STR_SYMBOLS_4        0x00000040    //123 through 126
#define RAND_STR_NON_PRINTING        0x00000080    //1 through 31 and 127
#define RAND_STR_EXTENDED_ASCII        0x00000100    //128 through 255

char* randstr(char* str, unsigned long length, unsigned long flags)
{
    //make we were passed a valid pointer
    if (!str)
    {
        return 0;
    }

    //make sure the string is supposed to contain something
    if (!length)
    {
        return 0;
    }

    //if none of the flags were used then we set flags to use just upper and lower case
    if ((!flags&0x00000001)&&(!flags&0x00000002)&&(!flags&0x00000004)&&
    (!flags&0x00000008)&&(!flags&0x00000010)&&(!flags&0x00000020)&&(!flags&0x00000040)
    &&(!flags&0x00000080)&&(!flags&0x00000100))
    {
        flags=RAND_STR_LOWER_CASE_LETTERS|RAND_STR_CAPITOL_LETTERS;
    }

    char t[9]={0};
    int i=0;

    //each pass of the loop the flags are checked and for each flag that is used
    //then a random character in the flags range is added to a temporary array of
    //characters, after all the flags are checked a random character from the
    //temporary array is chosen to be inserted into the string
    for (unsigned long x=0;x<length-1;x++)
    {
        i=0;

        if (flags&0x1)
        {
            t[i]=randint(65,90);
            i++;
        }

        if (flags&0x2)
        {
            t[i]=randint(97,122);
            i++;
        }

        if (flags&0x4)
        {
            t[i]=randint(48,57);
            i++;
        }

        if (flags&0x8)
        {
            t[i]=randint(32,47);
            i++;
        }

        if (flags&0x10)
        {
            t[i]=randint(58,64);
            i++;
        }

        if (flags&0x20)
        {
            t[i]=randint(91,96);
            i++;
        }

        if (flags&0x40)
        {
            t[i]=randint(123,126);
            i++;
        }

        if (flags&0x80)
        {
            if (!randint(32))
            {
                t[i]=127;
                i++;
            }
            else
            {
                t[i]=randint(1,31);
                i++;
            }
        }

        if (flags&0x100)
        {
            t[i]=randint(127,255);
            i++;
        }

        str[x]=t[randint(i-1)];
    }

    //null terminate the string
    str[x]=0;

    return str;
}



Now you may be wondering why not just use modulous division to get random integers within a range, well the problem with doing this is that it places a greater significance on the lower order bits of the number thus making the numbers less evenly distributed (which may be what you need, but odds are you want normally distributed random numbers).
Digg Digg It!     Del.icio.us Del.icio.us     Reddit Reddit     StumbleUpon StumbleIt     Newsvine Newsvine     Furl Furl     BlinkList BlinkList

Rate Rate this tutorial
Comment Current Comments
by Me on Tuesday, October 19th 2004 at 10:21 PM

I dont get it

by sam on Monday, May 1st 2006 at 03:51 PM

Makes No Sense. What are the x000000x000

by on Tuesday, June 13th 2006 at 07:43 PM

srand(rand()*GetTickCount())

gives a much more random distribution, especially if you\'re calling random in rapid succession, like in a loop

by eHailat on Monday, March 24th 2008 at 08:14 PM

Thanks alot! this was helpful!

by Mats on Monday, December 1st 2008 at 06:32 AM

it failed

by jake on Tuesday, December 30th 2008 at 06:35 PM

This is great, thank you. In the string sections, you are referencing x when it is out of scope. you need to declare x at the beginning of the functions so that x is in scope when you null terminate...

by sateesh on Friday, July 31st 2009 at 07:27 AM

not clear......

by sateesh on Friday, July 31st 2009 at 07:28 AM

not clear......

by sam on Monday, August 3rd 2009 at 04:10 AM

In all places where the term
rand()/(RAND_MAX 1.0)
appears and is multiplied by something, this whole term as shown should be enclosed in parentheses, otherwise the left hand part {something*rand()} is computed first and may overflow.
I had problems with this using the code as above, but adding these parentheses fixed the problem.

by Bridewin on Wednesday, August 26th 2009 at 10:37 AM

bridewin@Ires ~/Desktop $ gcc br.c
br.c: In function ‘randint’:
br.c:18: error: expected expression before ‘int’
br.c:23: error: expected expression before ‘int’


i am getting the above error..!!

by Adnan Hodzic on Thursday, October 1st 2009 at 02:58 PM

i am just starting to learn cpp and this is very helpfull. rng algorithams are very interestring. thanks

by Nate on Friday, October 16th 2009 at 10:40 AM

for those with bridewin's problem try this:

change int to (int) before expressions.

For example:
return min int((max-
becomes
return min (int)((max-

by abhilash on Thursday, November 12th 2009 at 01:52 AM

thanx maccha.......

by e on Tuesday, November 17th 2009 at 03:16 AM

running the program always produces the same set of numbers. is it really supposed to be like that? what if i want random numbers to be different for every execution?

by e on Tuesday, November 17th 2009 at 04:20 AM

i tweaked the program and finally had it working. seeding should be inside int main so that the set of numbers outputted is different for every iteration.

by Nelson on Wednesday, November 25th 2009 at 05:03 AM

The code is too complex,please make it simpler coz I want to complete my assignment

by nikkil on Tuesday, December 8th 2009 at 08:01 AM

thanks Item raja

by nikkil on Tuesday, December 8th 2009 at 08:01 AM

thanks Item raja

by Prasad on Thursday, December 17th 2009 at 12:50 AM

this is one very handy and a quick code, this helped me alot. thanx alot or this.

by sextheorist on Wednesday, February 24th 2010 at 09:42 AM

it generates random no. between 0 and 2147483648..
atleast in comp.
the size of int is comp. specific.
in old systems it is 2 bytes
in mainframe it is 4 bytes
in supercomputers its is 8 bytes.

by Robert Macmillan on Thursday, April 15th 2010 at 05:43 AM

Does anyone know if it is possible to generate the same random numbers with Visual Basic as you would get by seeding the Microsoft C srand() function with certain numbers? For example, I know srand(1) will then generate a predictable set of numbers (even if Microsoft might not guarantee it). Can I produce the same set of numbers in VB?

Yes, I know it sounds daft...

A reply to my email as well as to here would be great.

Thanks!


Robert

by Sam on Thursday, April 15th 2010 at 05:47 AM

I think all they can say about seeding values is that on the same machine and same compiler they produce the same sequence. More than that I don't think so because your machine might have different word lengths which would change the arithmatic results computed in the sequence generation.

by Robert Macmillan on Thursday, April 15th 2010 at 06:00 AM

Thanks Sam. I'm looking at a fragment of Microsoft code which generates the random numbers used to create the card sequences in Freecell. There's a comment by the original programmer that he knows it works on all C compilers (to that date). He uses srand(1) to generate the cards for game 1, and so on. I was hoping to generate the same card games using VB. I guess it's a long shot.

by Sam on Thursday, April 15th 2010 at 08:37 AM

Thinking about it again I was a little uneasy with my answer, so here's the exact specification, as quoted in the C99 standard document
www.open-std.org/JTC1/SC22/wg14/www/docs/n1124.pdf

"...The srand function uses the argument as a seed for a new sequence of pseudo-random
numbers to be returned by subsequent calls to rand. If srand is then called with the
same seed value, the sequence of pseudo-random numbers shall be repeated. If rand is
called before any calls to srand have been made, the same sequence shall be generated
as when srand is first called with a seed value of 1..."

This is a bit of an iffy wording if you ask me. This may imply dependence on the machine for which the progam is compiled or it may not, depending on how you look at it. Also there is nothing stopping an implementation of C99 having the extra bonus feature of repeatability across machines anyhow, so maybe MS C compilers do....dunno. I wouldn't count on it but maybe.

by Sam on Thursday, April 15th 2010 at 08:38 AM

In my rant I missed the point on the whole VB thing, haha. Dunno, you could always look and see.

by Robert Macmillan on Thursday, April 15th 2010 at 09:37 AM

I could always look and see? But that implies doing some work! Asking the question gets other people to do the work, or hopefully just tell me the answer having already done it. I didn't get to be a programmer without passing my laziness certificate, y'know.

Thanks for your thoughts. My impression is that the C code is indeed deterministic and in reality going to work for all C compilers and all machines but I accept the doubt. Another approach might be for me to get the source of the C functions, if they are published, and implement them in VB.

by raj on Monday, September 20th 2010 at 04:26 AM

sahi nahi hai be...

by lalit c on Tuesday, October 12th 2010 at 05:53 PM

This is a challenge for everybody ... for all who are talking about generating number using srand, int max and mini and seeding etc whatever you use.. but I can't generate random numbers from a list of selected numbers..eg selected numbers to be generated are 2,5,28,11,12,17 whatever..i want to generate 4 or more numbers rendomly from the list and the numbers should not be repeated..
I will be gratefull if anybody helps me ... tell me if it is possible... thanks

by Daniel on Sunday, October 31st 2010 at 01:31 PM

Wow... this code is NOT too complex. It's very simple C programming. There's no way he can simplify it because it gets no simpler.

And he isn't necessarily using x when it is out of scope. It depends on your compiler and settings. Microsofts C/C compiler for Visual Studio 2008/2010 has a setting called "Force conformance in for loop". If this is set, x would be out of scope. If it is not set, x is within scope throughout the entire block, and many C compilers do this by default.

by Rainrose Jumawan on Monday, January 10th 2011 at 09:35 PM

hello! .. Do you have any idea about cprogram about sudoku that can generate 1-4 numbers with 24 combinations?

by Rainrose Jumawan on Monday, January 10th 2011 at 09:35 PM

hello! .. Do you have any idea about cprogram about sudoku that can generate 1-4 numbers with 24 combinations?

by Rainrose Jumawan on Monday, January 10th 2011 at 09:36 PM

hello! .. Do you have any idea about cprogram about sudoku that can generate 1-4 numbers with 24 combinations?

by Rainrose Jumawan on Monday, January 10th 2011 at 09:38 PM

hello! .. Do you have any idea about cprogram about sudoku that can generate 1-4 numbers with 24 combinations?

by Mike on Wednesday, June 22nd 2011 at 09:33 AM

shut up u paki scum

by masini de inchiriat on Friday, September 2nd 2011 at 07:06 AM

I tried it but I don't understand how you did it.

by Cloud Hosting on Tuesday, December 13th 2011 at 03:48 PM

This is an excellent read for me, Must declare that you are on the list of best blogger I ever observed and I am very thank you to share this article, it is very good, I hope you can share more, and I will continue to read, thanks.

by Alaska Fishing Lodge on Saturday, December 17th 2011 at 04:45 PM

The live reading was equally exciting, as the cast was really good. Just some of the best improv, stand-up, and theater actors in town.

by antispyware on Monday, December 19th 2011 at 07:55 AM

I always used the rand() function to get random numbers but you can build your own with the help of the clock function or something... (basically it generates a number based on the time so it's pretty unique every time).

by internet security software on Monday, December 19th 2011 at 11:57 AM

You really confused me. Reading the title of your article I thought it was about those number generator programs that you find online and use when you can't decide on something. Yes, I do that sometimes, I know it's very silly and I almost feel bad to talk about it, but it's the truth. I'm sorry, I have no idea what you did there.

by best balance transfer credit cards on Friday, December 23rd 2011 at 07:19 PM

Its so informative, so full of information that I just didn’t know. You know so much its almost hard to argue with you .........

by rn bsn online on Friday, January 6th 2012 at 03:55 AM

I would like to thank you for sharing your thoughts and time into the stuff you post!!

by phlebotomy training on Sunday, January 8th 2012 at 03:32 AM

it's very much help full.
thanx for helping all the readers of this content.

by latex mattress on Friday, January 13th 2012 at 11:31 PM

I just wanted to leave a comment as a token of appreciation. Thanks for sharing this on the Net.

by Phlebotomy Training on Monday, January 16th 2012 at 05:31 AM

A very good and informative article indeed . It helps me a lot to enhance my knowledge, I really like the way the writer presented his views.

by funeral flower arrangements on Saturday, January 21st 2012 at 04:59 PM

Interesting topic what you have shared with us. Your writing skill is really very appreciative. I love when you share your views through the best articles.Keep sharing and posting articles like these.This article has helped me a lot.Keep posting this stuff.

by gd poker online on Sunday, January 22nd 2012 at 03:31 PM

I and my friends appeared to be reading the good tips and hints found on the website and then quickly I had a horrible feeling I had not expressed respect to the web site owner for them. These ladies were definitely totally happy to study them and already have without a doubt been tapping into these things. Thank you for genuinely simply considerate and then for having this kind of helpful things most people are really desperate to be informed on. My very own sincere regret for not expressing gratitude to earlier.

by iPhone screen replacement service on Monday, January 30th 2012 at 12:23 AM

thanks for giving such prescious detail..

by Blaine on Thursday, February 2nd 2012 at 07:51 AM

This is a fantastic website and I can not recommend you guys enough. Full of useful resource and great layout very easy on the eyes. Please do keep up this great work.

by casino on Monday, February 6th 2012 at 12:39 AM

Knowing all this is truly a knowledge to keep. Your logical thinking applied to this algorithm of codes are really excellent.

by Teeth Whitening on Friday, February 17th 2012 at 05:52 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Dental White on Friday, February 17th 2012 at 06:01 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Botanical White on Friday, February 17th 2012 at 06:07 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Mint Cosmetics on Friday, February 17th 2012 at 06:17 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Teeth Whitening Strips on Friday, February 17th 2012 at 06:25 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Capsiplex on Friday, February 17th 2012 at 07:29 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Slim Weight Patch on Friday, February 17th 2012 at 07:44 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Phen375 on Friday, February 17th 2012 at 07:47 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Ultimate Maqui Berry on Friday, February 17th 2012 at 07:51 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Pure Acai Berry Max on Friday, February 17th 2012 at 08:01 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Human Growth Hormone on Friday, February 17th 2012 at 08:07 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by HGH Advanced on Friday, February 17th 2012 at 08:11 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by GenFX on Friday, February 17th 2012 at 08:20 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by GenF20 on Friday, February 17th 2012 at 08:24 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Provacyl on Friday, February 17th 2012 at 08:29 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by HGH on Friday, February 17th 2012 at 08:33 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by African Mango Plus on Friday, February 17th 2012 at 08:40 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Capsiplex Plus on Friday, February 17th 2012 at 08:43 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Best Acne Treatments on Friday, February 17th 2012 at 08:47 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Clear Skin Max on Friday, February 17th 2012 at 08:51 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Best Diet Pills on Friday, February 17th 2012 at 09:31 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Proactol Plus on Friday, February 17th 2012 at 09:41 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Meratol on Friday, February 17th 2012 at 09:48 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Capsiplex on Friday, February 17th 2012 at 09:51 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Capsiplex Plus on Friday, February 17th 2012 at 09:55 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Diet Tea on Friday, February 17th 2012 at 10:03 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Diet Tea on Friday, February 17th 2012 at 10:07 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Tava Tea on Friday, February 17th 2012 at 10:10 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Tava Tea on Friday, February 17th 2012 at 10:29 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by HGH Supplements on Friday, February 17th 2012 at 10:34 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by HGH Energizer on Friday, February 17th 2012 at 10:38 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Teeth Whitening Pen on Friday, February 17th 2012 at 10:42 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by HGHAdvanced on Friday, February 17th 2012 at 10:52 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by Buy HGH Advanced on Friday, February 17th 2012 at 10:55 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by HGH Advanced Review on Friday, February 17th 2012 at 10:59 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by UniqueHoodia on Friday, February 17th 2012 at 11:49 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by adjustable bed on Sunday, February 19th 2012 at 02:53 PM

You really make it seem so easy with your presentation but I find this topic to be really something which I think I would never understand.

by best skin care products on Tuesday, March 13th 2012 at 09:50 AM

This is an excellent read for me, Must declare that you are on the list of the best programming bloggers I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by sleep number bed reviews on Thursday, March 22nd 2012 at 07:38 PM

I wanted to thank you for this unique read. I definitely savoured all bits and pieces of it including all the comments and I have added you to my bookmark list to check out new articles you post. These numerous traumatizing polarities explain why cultural dialogue in the Mediterranean is so seriously affected and even broken. Such a bitter conclusion is indeed I admit, I have not been on this webpage in a long time... however it was another joy to see It is such an important topic and ignored by so many, even professionals. professionals You can't really say what is beautiful about a place, but the image of the place will remain vividly with you.

by Host News on Sunday, March 25th 2012 at 05:02 AM

but what do we do when we need to generate numbers within a range? Or what about generating random floating point numbers. Host News

by Naples Florida Real Estate on Sunday, March 25th 2012 at 08:28 PM

I can not recommend you guys enough. Full of useful resource and great layout very easy on the eyes. Please do keep up this great work.

by best online master degree programs on Monday, March 26th 2012 at 09:31 PM

nice post i like it

by fast payday loan on Monday, April 2nd 2012 at 03:16 PM

I close the phone shut?! It's driving me crazy and its not because I have low battery.

by Baseball Shoes on Tuesday, April 3rd 2012 at 01:57 AM

Your talents and kindness in maneuvering everything was valuable.

by Jet Airways India on Thursday, April 5th 2012 at 12:58 AM

I am very thank you to share this article, it is very good, thanks mate!

by find cell on Wednesday, April 11th 2012 at 05:25 AM

but what do we do when we need to generate numbers within a range? Or what about generating random floating point numbers?

by outdoor tents on Thursday, April 12th 2012 at 03:59 AM

This article was really good. I look forward to reading another one.

by tempurpedic rhapsody on Tuesday, April 17th 2012 at 12:37 AM

I am waiting for your next interesting post.

by 1822 on Wednesday, April 18th 2012 at 12:40 AM

Random Number Generation is very useful in many cases. Users definitely find it useful.

by Bosch PMF 180E on Wednesday, April 25th 2012 at 05:30 AM

Oh, and because I'm feeling generous I'm going to include some basic random string generation functions.

by signs manchester on Monday, April 30th 2012 at 07:08 AM

I look forward to reading another one.

by bathroom vanities on Tuesday, May 1st 2012 at 01:00 PM

Where else could anyone get that kind of information in such a perfect way of writing?

by Baby Games on Tuesday, May 1st 2012 at 11:39 PM

Look for the best teeth removal in Toronto, then visit at thornhillsmilecentre.com to remove your missing teeth and other dental problems.

by Fish Games on Tuesday, May 1st 2012 at 11:48 PM

really loved reading your blog.

by shooting games on Monday, May 7th 2012 at 05:08 AM

I ever observed and I am very thank you to share this article, it is very good, thanks mate!

by bikram yoga weight loss on Tuesday, May 15th 2012 at 05:20 AM

Toronto, then visit at thornhillsmilecentre.com to remove your missing teeth and other dental problems.

by more information on Wednesday, May 16th 2012 at 08:02 AM

Thanks for sharing this, you run a wonderful blog filled with good posts.I hope you will keep us update about environmental conversation. Thank you so much in Advance.

by Granny Pussy on Monday, May 21st 2012 at 04:23 PM

I could also gain several of my ranches for marketing substance for you all budy who come up here. i think so it is very useful and knowledgeable. I would like to thank you for the efforts.

by Naples Real Estate on Thursday, May 24th 2012 at 05:37 PM

I came across this and interesting stuff is present here.I will bookmark your website and share with my friends.

by Pussy Tube on Tuesday, May 29th 2012 at 07:08 PM

nice one i like it very much please keep posting thank you .

by AppLogic From Scalematrix on Wednesday, May 30th 2012 at 02:14 AM

Generating random floating point numbers was a thing that i was never able to do.They told us in school how to do this but it never got stuck to me.Thanks for posting this function, it's really helpful for me and i bet that it is for others like me too.

by AppLogic From Scalematrix on Wednesday, May 30th 2012 at 02:14 AM

Generating random floating point numbers was a thing that i was never able to do.They told us in school how to do this but it never got stuck to me.Thanks for posting this function, it's really helpful for me and i bet that it is for others like me too.

by pornhub on Friday, June 1st 2012 at 04:25 AM

cool post its very informative post i like it so much :)).

by on Monday, June 11th 2012 at 06:24 PM

asdads

by a href="http://ryanwuerch.net/">Ryan Wuerch on Sunday, June 24th 2012 at 06:51 AM

This may imply dependence on the machine for which the progam is compiled or it may not, depending on how you look at it.

by hindi songs download on Saturday, September 1st 2012 at 07:54 PM

You’re definitely someone that has something to say that people should hear. Keep up the wonderful job.

by bank ifsc code on Saturday, September 1st 2012 at 07:54 PM

Thanks so much for this! I have not been this thrilled by a blog post for quite some time! You’ve got it, whatever that means in blogging

by bollywood songs download on Saturday, September 1st 2012 at 07:55 PM

When I first visited your blog, I liked the concept of your blog posts. It is very well portrayed as well as depicted.

by rowdy rathore songs on Saturday, September 1st 2012 at 07:56 PM

This information is very interesting, I really enjoyed, I would like get more information about this, because is very beautiful, thanks for sharing


Comment Comment on this tutorial
Name: Email:
Message:
Comment Related Tutorials
There are no related tutorials.

Comment Related Source Code
There is no related source code.

Jobs C Job Search
My skills include:
Enter a City:

Select a State:


Advanced Search >>
Ads

From the creators of Geekpedia, a revolutionary new coupon website!

BargainEZ has coupons codes, printable coupons, bargains and it is the leading source of Passbook coupons for iPhone and iPod touch devices.

Coupons
Discover Geekpedia
Other Resources