Error executing C++ code

For school assignments, I am starting to use C++, so I am trying to use it with gradle, I made a C++ application, it does not recognize the .h file even adding the folder where the file is.

It mentions this task :app:compileDebugCpp, and it wasn’t there until I ran gradle run.

Maybe I don’t know how to organize the code using gradle, I would like if you could help me.

continuation with code Error executing C++ code continuation with code - Album on Imgur