Write a program that establishes all the primes in the first positive integers. [ C++]

You posted as if this is a job for hire. Please read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question

I also worry you left out a requirement as usually the app/program/code will ask for the first n positive integers.

No matter, I bet this has been written in over 20 languages. Let's find out.
Category: Primes -> https://rosettacode.org/wiki/Category:Prime_Numbers
Classic solutions: -> https://rosettacode.org/wiki/Sieve_of_Eratosthenes

There you go. 130 different languages.