[Question] including multiple files with same name
#8

Quote:
Originally Posted by NaS
Посмотреть сообщение
Try:

#include <../file>
#undef _inc_
#include <../file>

// NVM didnt read your comment as I wrote this 5 mins ago.

Well I think the easiest way is renaming. There shouldn't be a problem with this right?
It's definitely possible to include both files somehow, but isn't that more complicated and unnecessary?
Maybe complicated, but it is necessary for me, I like things organized.
Renaming would be my last option, I would rather avoid that if I can.
A file with the same name is very likely to appear more than once since it appears in different folders.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)