首页> 外文期刊>C - C++ Users Journal >C++/CLI: Static Constructors, IO, and Event Handlers
【24h】

C++/CLI: Static Constructors, IO, and Event Handlers

机译:C ++ / CLI:静态构造函数,IO和事件处理程序

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

For certain class types, it is convenient to have some initialization occur the first time that class is used by a program. It can also be useful to have some cleanup done once that class is no longer needed by that program. This month, I show how to do both these things. Along the way, I examine how to read from—and write to—a text file, as well as look at event handlers and delegates, CLI's language-independent approach to function pointers.
机译:对于某些类类型,在程序第一次使用该类时进行一些初始化很方便。一旦该程序不再需要该类,进行一些清理也是很有用的。本月,我将展示如何做这两个事情。在此过程中,我将研究如何从文本文件读取和写入文本文件,以及事件处理程序和委托(CLI的独立于语言的函数指针方法)。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号