Which header file include the "gStyle" global pointer?

___when i use root library to make a c++ projection, the header file “TSystem.h” is added, but the IDE vs2019 still indicate the “gStyle” global pointer can not be found. which header file shauld i add?


Please read tips for efficient and successful posting and posting code

ROOT Version: 6.22-06
Platform: win10
Compiler: Vs2019


https://root.cern/doc/master/classTStyle.html

thanks!

Note that the reference guide tells you that if you search “gStyle” in the search box.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.