Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 04:52

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Help with random name generator

Discussion on Help with random name generator within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1


 
'Unicorn''s Avatar
 
elite*gold: 0
The Black Market: 207/0/0
Join Date: Apr 2013
Posts: 2,622
Received Thanks: 653
Help with random name generator

I'm noob at programming and i wanna make a random name generator but i don't know how to make it,i don't wanna make it random i wanna make a list of names and then the program generates them and when i have new names i put them on the list,if somebody can help me i'll be very greatful
'Unicorn' is offline  
Old 07/17/2013, 23:37   #2
 
'Aleo's Avatar
 
elite*gold: 175
Join Date: Jun 2013
Posts: 157
Received Thanks: 44
Use Arrays and the Random class. Coded in C#
Code:
string GenName(string[] names)
        {
            Random r = new Random();
            return names[r.Next(names.Length)];
        }
'Aleo is offline  
Thanks
1 User
Old 07/18/2013, 00:07   #3


 
'Unicorn''s Avatar
 
elite*gold: 0
The Black Market: 207/0/0
Join Date: Apr 2013
Posts: 2,622
Received Thanks: 653
Quote:
Originally Posted by 'Aleo View Post
Use Arrays and the Random class. Coded in C#
Code:
string GenName(string[] names)
        {
            Random r = new Random();
            return names[r.Next(names.Length)];
        }

i was trying to learn in vb,can't u write that in vb? :S
thanks
'Unicorn' is offline  
Old 07/18/2013, 00:13   #4
 
'Aleo's Avatar
 
elite*gold: 175
Join Date: Jun 2013
Posts: 157
Received Thanks: 44
Use one of the translators in the internet -> Google
'Aleo is offline  
Thanks
1 User
Old 07/18/2013, 00:22   #5


 
'Unicorn''s Avatar
 
elite*gold: 0
The Black Market: 207/0/0
Join Date: Apr 2013
Posts: 2,622
Received Thanks: 653
Quote:
Originally Posted by 'Aleo View Post
Use one of the translators in the internet -> Google
Thanks i didn't know that thing exists
'Unicorn' is offline  
Reply


Similar Threads Similar Threads
Random Accoune Generator v.1
06/23/2013 - S4 League Hacks, Bots, Cheats & Exploits - 19 Replies
Hello ! This Is Amazing Tool (3 Day Progrmaing) How To Use : 1- Open My Trainer (as admin) 2- Click Start
[B] Random Zahl Generator [S] e*Gold
12/24/2012 - elite*gold Trading - 31 Replies
RanDomator 1.0 Hallo Leute, verkaufe hier das von mir programmierte RanDomator 1.0. Screenshot: http://i.epvpimg.com/XsoDd.jpg
Random Password Generator
02/29/2012 - WarRock Hacks, Bots, Cheats & Exploits - 15 Replies
its just a random Password Generator For Anything Easy To be used. Just run and Click On Generate allot of random password will be generated u choose.;) Virus Total http://img194.imageshack.us/img194/3933/capturebr q.png MediaFire Download Its 100% Clean If u ask me to remove it i will so just see if u like it. And Dont Forget to hit thanks and if u can donate then :) PLEASE DO IT :) THX :) i will upload some hack Tomorrow WANT HELP IN ANYTHING i am here. ;) :awesome:



All times are GMT +1. The time now is 04:53.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.