AnsweredAssumed Answered

CrossCore 2.3.0 -- find include file

Question asked by MikeSmithCanada on Sep 5, 2016
Latest reply on Sep 6, 2016 by GlenA

Hi

 

Working with students who make use of university computer hard drives and also USB sticks to store their code,  They are mixing CrossCore compiles for Blackfin with Eclipse-Mars-2 IAR compiles for ARM as part of course work and club work

 

Is there a CrossCore C++ equivalent to do

 

#if exists("c:\file.h")

#include "c:\file.h"

#else

#include "H:\file.h"

#endif

 

Since the H: drive may not be the H: drive depending on when plugged into system

can the H: drive be renamed USB and then do

 

#include "USB:\file.h"

 

Thanks

Outcomes