the highlighted part is where i think i went wrong...
what did i do wrong here?
Code:#include <iostream>
using namespace std;
int main()
{
for ( int x = 0; x < 10; x++ ) {
cout<< x <<end1;
}
cin.get();
}
Printable View
the highlighted part is where i think i went wrong...
what did i do wrong here?
Code:#include <iostream>
using namespace std;
int main()
{
for ( int x = 0; x < 10; x++ ) {
cout<< x <<end1;
}
cin.get();
}
It's not end1 it's endl. With a lowercase L, not the number 1.
lol oops... thanks