0

How to solve this error?

"Fatal error: main.h: no such file or directory" At: #include <iostream> #include <main.h> using namespace std; int main() {

14th Dec 2018, 9:30 PM
Тихий Орёл
Тихий Орёл - avatar
3 Answers
+ 4
Why do you use main.h in this context?
14th Dec 2018, 9:40 PM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
+ 1
This answer may help you; hard to be sure without seeing the whole project: http://www.cplusplus.com/forum/beginner/48774/#msg264984 "It is common for beginners to be given assignments with a file named "main.cpp"...
15th Dec 2018, 3:32 AM
Kirk Schafer
Kirk Schafer - avatar