#include <iostream>
using namespace std;
int main()
{
for (int i=1; i<=10; i++);
{
cout<< i << endl;
}
return 0;
}
wyskakuje mi cos takiego:
name lookup of 'i' changed for ISO 'for' scoping [-fpermissive
note: (if you use '-fpermissive' G++ will accept your code)|