Open
File Explorer
Select the folder
D:\ndk-samples-master\native-activity\app\src\main\cpp\
and create a new file: click
New → Text Document
my_graphic.h
class MyGraphic
{
public:
// constructor
MyGraphic();
protected:
int m_Width;
int m_Height;
public:
// functions
void Draw();
};