fork download
  1. #include<iostream>
  2. int main()
  3. {
  4. int a =7;
  5. for( a =7; a>0;I>0)
  6. cout<<i;
  7.  
  8.  
  9. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:5:16: error: use of undeclared identifier 'I'
for( a =7; a>0;I>0)
               ^
prog.cpp:6:1: error: use of undeclared identifier 'cout'; did you mean 'std::cout'?
cout<<i; 
^~~~
std::cout
/usr/bin/../lib/gcc/i586-linux-gnu/4.9/../../../../include/c++/4.9/iostream:61:18: note: 'std::cout' declared here
  extern ostream cout;          /// Linked to standard output
                 ^
prog.cpp:6:7: error: use of undeclared identifier 'i'
cout<<i; 
      ^
3 errors generated.
stdout
Standard output is empty