lang.hpp

来自「this an OOP file which is very easy to u」· HPP 代码 · 共 31 行

HPP
31
字号
// Lang.hpp
// Header File for Lang

#ifndef LANG_H 
#define LANG_H 


#include <string>

using namespace std ;

class Lang
{
  public:
    // Basic constructor
    // sets the language code to be lc
    Lang( string lc ) ;

    // True if the language is "en"
    bool isEnglish() ;

    // True if the language is "zh"
    bool isChinese() ;

  private:
    string langcode ;
} ;


#endif // LANG_H

⌨️ 快捷键说明

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