English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

well i have been working on my program and i have some books on c++ and stuff.


I have made my program but the button dos not work and i put the Functional code in but it did not work.

i want my program to Generate random letters and numbers
a-z and 0 - 9

its a Random Key Generator ( 4 numbers and 14 letters )

e.g : 1GEN-6HKE-8IJC-0FOE

my program ( without the Functional code my program works fine but the button and the text boxes dos notting lol)

so can you help me make my code or do you have some tips or links i can have ect


note:

My program has no Functional code for the button to make A key code Generator coz the Funcitonal codes in my college books dont work lol + i tryed to edit it to get it to work.

2007-03-23 16:34:09 · 4 answers · asked by lonewolfy92 1 in Computers & Internet Programming & Design

4 answers

You will get more help at http://www.codeguru.com

2007-03-23 23:53:12 · answer #1 · answered by Siu02rk 3 · 0 0

You don't just copy code around, you have to write code!

Note, also, that your sample code has 4 numbers and *12* letters, not 14.

Given the sample I would make a routine that returned a random number, another that returns a random letter, a third that calls the first once and the second 3 times to build a group and then a fourth that calls the third 4 times to build the result.

Routines 3 and 4 could use loops but personally I would not do so.

2007-03-23 17:09:03 · answer #2 · answered by Loren Pechtel 3 · 0 0

This would depend on what IDE you are using. VC++?? Borland ?? what. Each one has a different way of using controls on a form and initiating them. They are usually subclassed classes of the form type and you will have to give them variable names and functions in order to make them do what you want.

2007-03-26 20:59:20 · answer #3 · answered by Anonymous · 0 0

Have a look here http://www.cprogramming.com/tutorial.html#fptutorial

2007-03-23 23:22:09 · answer #4 · answered by Taffy Comp Geek 6 · 0 0

fedest.com, questions and answers