Skip to content
Advertisement

Tag: class

Externing a C++ class to avoid including its header file

I have created a static library for the following class, libtgbotengine.a and externed the class to be used in a different project. tgbotengine.h In a different project, I want to link libtgbotengine.a with the following cpp file. My goal is to not to include tgbotengine.h. Is externing myTgBotEngine help me achieve this? project2.cpp Answer The upcoming modules will probably allow

Advertisement