Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
101 lines (56 sloc) 1.42 KB






(C++) 'endl' is not a member of 'std'


Compile error.





Full error message


[C++ Error] Unit1.cpp(3): E2316 'endl' is not a member of 'std'








IDE: C++ Builder 6.0

Compiler: Borland BCC32.EXE version

Project type: Console Application


int main() {   std::cout << "Hello world" << std::endl; }








The compiler was unable to find the definition of std::endl. #include the header file iostream so it does:


#include <iostream> int main() {   std::cout << "Hello world" << std::endl; }







You can’t perform that action at this time.