#inclde // Why does this source code not compile? // // First, examine the code and try to // identify the problem without compiling it. // // If you cannot find the problem, compile // the code and use the compiler's error // message as a hint. // // If you still cannot find the problem, // scroll down. // Function declaration int main(); // Function definition int main() { std::cout << "Hello World!" << std::endl; return 0; } // The preprocessor directive // // #include // // is misspelled as // // #inclde // // Consequently, the header is // not included. // // You may notice additional error messages // when you try to compile this code. Because // was not included, the compiler // does not know the declarations of // 'std::cout' or 'std::endl'.