[Insight-users] How to define global ITK variable for different cxx files

John Drescher drescherjm at gmail.com
Wed Apr 4 09:02:39 EDT 2012


> Assume that I have two cxx files: a.cxx and b.cxx and two head files: a.h
> and b.h.
>
>
>
> I would like to define a global itk reader in a and then use that reader in
> b.
>
>
>
> How to achieve this?
>

Add a third header file defining the global.

John


More information about the Insight-users mailing list