Counting next numbers

Guys I need help...this code only counts the first input from the user and leaves the other following number.
Can you help me to make it read and count the next numbers



#include<iostream>
using namespace std;
int main()
{
int num;
int count = 0;
cout << "Enter the list of numbers: ";
cin >>num;
if (num < 1000) {
count = count + 1;
}
cout << count ;
}
This seems related to / doublepost of: http://www.cplusplus.com/forum/general/266139/

There are already hints and examples in that thread that should answer your question here.
Topic archived. No new replies allowed.