[ create a new paste ] login | about

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

C, pasted on Jul 17:
1
2
3
4
5
6
7
#include <iostream>
using namespace std;

int main() { 
    cout << "Hello, world!";
    return 0; 
}


Output:
1
2
3
4
5
6
Line 19: error: iostream: No such file or directory
Line 2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'namespace'
In function 'main':
Line 5: error: 'cout' undeclared (first use in this function)
Line 5: error: (Each undeclared identifier is reported only once
Line 5: error: for each function it appears in.)


Create a new paste based on this one


Comments: