Sorry Loctan, was making my reply while you posted yours.
That code is quite buggy (you are new, some this is understandable). Allow me to show you what is wrong.
Code:
for (int x = int numb; x < 10; x++) {
You want to loop up to the value that the user entered, correct? If so, what you want is.
Code:
for (int x = 0; x < numb; x++) {
Now, you want your "cout <<x << endl;" within braces (within the for loop). In the end do:
Code:
#include <iostream>
using namespace std;
int main()
{
int numb;
cout << "Please input the number you would like to loop\n";
cin >> numb;
for (int x = 0; x < numb; x++)
{
cout << x << endl;
}
cin.get();
return 0; //This is not necessary, but good common practice.
}