hi guys i m new at linux programing actually new at programing and i have a problem.
at windows #include "myclass.h" wasnt giving any errors but in linux(i use ubuntu) i m having this error
1 2
fatal error: birthday.h: No such file or directory|
||=== Build finished: 1 errors, 0 warnings ===|
after i changed it to this "include/myclass.h" i dont get any error.
and here is the problem what should i do if i need to reach a class from another class.
"birthday.cpp" is in kk/src folder and "birthday.h" is in kk/include folder and "main.cpp" is in kk folder. it is not giving errors if i try to reach birthday.h from main.cpp. But from any class(all classes's cpps r in kk/src folder) it gives this error
1 2
fatal error: include/birthday.h: No such file or directory|
||=== Build finished: 1 errors, 0 warnings ===|
it was very long. hope u guys can help me i know it is very simple but cant find the solution
and if it is needed Linux CesetPC 3.10.3-031003-generic #201307251835
np. but i would seriously do some more research on file paths, because not to be mean (but i am speaking the truth), you have a fundamental gap. that should be easy. i would start with this: http://en.wikipedia.org/wiki/Path_(computing)
it looks promising