0

I have this question and might look stupid indeed, but bear with me.
I have files in this hierrachy

ProjectFolder/Panel/panel.h
ProjectFolder/Panel/panel.cpp
AND
projectFolder/Search/search.h
projectFolder/Search/search.cpp

I want to include search.h in panel.h
I have tried many thing including

#include "./search/search.h"
#include "../search/search.h"

but I have failed. Any suggestion on how to do it right?

1
Contributor
2
Replies
3
Views
7 Years
Discussion Span
Last Post by Stefano Mtangoo
0

Solved it.
It was spelling error than anything else error. Just added project DIr to compiler search path and that is ;)

Edited by Stefano Mtangoo: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.