>i need to know how to generate random integers in c++
Hmm, judging by how common this question is and how readily available the answer is, I would say that you haven't even *tried* to find an answer before coming here.
One of the things that you have to understand is that here, no one gives you the answer. You have to put forth some kind of effort; you have to show that you are at least trying to come up with something. It was frustrating for me at first, but from a good talking to from someone in this group (thank you, whoever you may be), I've learned that it's not good to try and take the easy way out. You'd never learn that way. It's best when you learn how to achieve things on your own.
However, I can recomend to you some great C++ tutorial programming sites.
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 ...
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 ...