[ create a new paste ] login | about

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

C, pasted on Aug 6:
1
2
3
4
5
6
7
#include<iostream>
using namespace std;
int main() 
{
cout<<''welcome'';
return0;
}


Output:
1
2
3
4
5
6
7
8
9
10
Line 18: 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.)
Line 6: error: empty character constant
Line 5: error: expected ';' before 'welcome'
Line 15: error: empty character constant
Line 6: error: 'return0' undeclared (first use in this function)


Create a new paste based on this one


Comments: