⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 less.h

📁 RPG游戏的剧情部分源码。是Visual C++角色扮演游戏程序设计的第七章的源码
💻 H
字号:
//
// 暥帤楍斾妑僋儔僗(戝暥帤乛彫暥帤傪嬫暿偟側偄)
//
//		Copyright (c) 2000-2001 Chihiro.SAKAMOTO (HyperWorks)
//
#ifndef	__less_h__
#define	__less_h__

class ic_less: public binary_function<const char *, const char *, bool> {
  public:
	result_type operator()(first_argument_type x, second_argument_type y) const
	{
		return stricmp(x, y) < 0;
	}
} ;

class ics_less: public binary_function<const string &, const string &, bool> {
  public:
	result_type operator()(first_argument_type x, second_argument_type y) const
	{
		return stricmp(x.c_str(), y.c_str()) < 0;
	}
} ;

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -