Exforsys

Online Training

Is this Similar or Different

This is a discussion on Is this Similar or Different within the C and C++ forums, part of the Programming Talk category; I know about random number generation but what does the term seed random means. Is this same as random number ...


Go Back   Exforsys > Programming Talk > C and C++

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-09-2007, 04:40 PM
Member
 
Join Date: Apr 2006
Posts: 98
Angela is on a distinguished road
Is this Similar or Different

I know about random number generation but what does the term seed random means. Is this same as random number if not what is the difference?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-13-2007, 11:26 PM
Senior Member
 
Join Date: Apr 2006
Posts: 125
ashlee is on a distinguished road
The random seed is also refereed as seed state or seed. This indicates a number and sometimes a vector and is used for initializing a pseudorandom number generator. Thus it is used for random number generation and does not refer the same term.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-14-2007, 11:05 PM
Member
 
Join Date: May 2006
Posts: 38
zsk_00 is on a distinguished road
Seed is used to set the starting point for generating a series of random numbers. If you use the same seed everytime, you will get the same set of numbers everytime. To avoid it, use a unique seed (microsoft uses number of seconds since 1970 or something similar) so everytime you run the random number generator, you get a different set of random numbers.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Similar or Different ashlee Linux 0 12-10-2006 03:53 AM
Is there a Concept similar in Coldfusion cyrus Coldfusion 0 12-07-2006 01:43 AM
Pattern suggestion for processing similar image types =?ISO-8859-1?Q?Ney_Andr=E9_de_Mello_Zunino?= Software Patterns 0 11-18-2004 03:59 PM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit Tech FAQ 0 06-01-2004 07:00 AM
Solaris x86 FAQ 2/2 Dan Anderson Tech FAQ 0 04-27-2004 08:24 PM


All times are GMT -4. The time now is 12:20 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.