Ok, here's what I have so far. My main problem is that I'm a little confused by arrays, What I need is to calaculate the 1st 100 (ignoring 1 and 2), store them in an array, then to print them out.


#include <iostream>
#include <string>
using namespace std;

bool Prime(int i) {

for ( int j = 2; j <= i-1; j++);
{ if (i % j = 0)
return false;}
return true;}

int count = 0
for (i = 3; count < 100; i+=2);


cout << Prime << endl;

Any Help you guys can provide would be very appreciated,

Thank You