[ create a new paste ] login | about

Link: http://codepad.org/AkaIotax    [ raw code | output | fork ]

C++, pasted on Feb 2:
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;
}


Output:
1
2
3
In function 'int main()':
Line 5: error: 'i' was not declared in this scope
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: