Hello to all. I have a question. I started learning C ++ Conlose Application. I have a project, it has 2 files: main.cpp and hello.cpp. And in the first one I registered a call to hello.cpp. But he writes a mistake
1>c:\users\владик\documents\visual studio 2010\projects\myfirstprogramm\myfirstprogramm\hello.cpp(2): fatal error C1014: слишком много включаемых файлов: глубина = 1024 1> hello.cpp 1>c:\users\владик\documents\visual studio 2010\projects\myfirstprogramm\myfirstprogramm\hello.cpp(2): fatal error C1014: слишком много включаемых файлов: глубина = 1024 1> Создание кода...
Code in 1 program
#include <iostream> #include "hello.cpp" int main() { Hello.cpp(); return 0; }
And in hello.cpp
#include <iostream> #include "hello.cpp" int main() hellow.cpp void hellow() { printf("Hellow"); }
Where is the mistake? This is a video tutorial. Here is the link .