help with external structure
so I have main.cpp x.cpp x.h y.h and y.cpp files.
in my x.h, I #include "y.h" at the start and declare my struct List.
Inside my struct, there are some functions.
in my y.h header file, I have another struct Line with one function.
The functions in my x.h files are implemented in my x.cpp file.
in one of the function, I want to call a function in my y.h file.
Can someone please tell me how can I call that function please.
Nvm, I figured that out. I need to include a struct in my x.cpp file :)