1. 首页
  2. 编程语言
  3. C++ 
  4. c++ event示例

c++ event示例

上传者: 2019-09-26 12:35:16上传 ZIP文件 22.08KB 热度 20次
IfyouwanttocreateaC++classthatcallsclients'functions(events),youcandothatintwoways.Thefirstwayistocallaglobalfunctionthroughafunctionpointerthatisaprivatememberofyourclass.Theclienthastosetthatfunctionpointerifitwantstohandlethatevent.So,yourclasshastwoconstructors,o
下载地址
用户评论