Hi Guy,
You can try the code below. For a start and then other members they shall help you. Becareful the code is looping using ( while ) loop.
regards,
curiaquita

#include <iostream>

int main(int argc, char *argv[])
{
int i=0;
while(i++ < 10)
{
std::cout << i << std::endl;
}

std::cin.get();
}