Can someone help me with creating a two dimensional prime numbers
I need to make a prime numbers with 100 colums and 200 rows so the program will calculate them like
numbers from 0-1000 (only prime numbers) to be set into a 0 row
numbers from 1001-2000 (only prime numbers) to be set into 1st row
numbers from 2001-3000 (only prime numbers) to be set into 2nd row
and all of them like that so there can be 200 rows with prime numbers and 100 colums.
I need this program with C++ code (I'm using eclipse).