Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. [SOLVED] Re: Random 4 Char Generator Generates 3 Numbers Instead?

    Please post the code you are asking about.
    If you define the generator one time and then call its methods repeatedly inside the loop, you should get a new number each time from the method.
  2. [SOLVED] Re: Random 4 Char Generator Generates 3 Numbers Instead?

    char are numeric variables that can be added together with the + operator
    For example what would you expect from this expression: 1+2+3+4?
    1234
    or 10
    The same with 'a'+'b'+'c'+'d'
    it gives a sum...
  3. [SOLVED] Re: Random 4 Char Generator Generates 3 Numbers Instead?

    I see code to print 4 chars,
    Which one of the 4 char is not printing? Post the program's output.

    Add some more print statements(1 per variable) to see which one is the problem.
Results 1 to 3 of 3