1 2 3 4 5 6 7 8
#include <iostream> int main() { std::cout << "Hello, world!\n"; for (i=0;i<20;i++){ std::cout << "Hello, world!\n";} return 0; }
1 2 3
In function 'int main()': Line 5: error: 'i' was not declared in this scope compilation terminated due to -Wfatal-errors.