Random Number Generators

Okay. I created a program to create a character, and it uses a random number generator to initialize the Character classes strength and dexterity.

Here's the character class constructor.
Since the random number generator is based on time, both strength and dexterity have the same value when they're initialized. Is there a way to make them both different random numbers?

When seeding a pseudo random number generator with a certain number (that's what srand does), it will always produce the same series of "random" numbers.
So you should call srand just once at the beginning of the program.

I called srand just once in the whole program and it was in that constructor. So is there no way for it to make a random number for dexterity after it's assigned strength since time isn't changing when it's being initialized?

Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question …

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...