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

📄 realsys.h

📁 eC++编译器源码
💻 H
字号:
/*RPC02-95 Added access to date/time and other underlying OS functions*/
#pragma RealSys
  typedef struct { 
    unsigned int month,day,year,dayOfWeek,hour,minute,second,millisecond;
  } tTime;
  
  /* Be careful about midnight when calling these consecutively*/
  void Date(unsigned int &month, unsigned int &day, unsigned int &year, unsigned int &timeZone);  /*0=GMT*/
  void Time(unsigned int &hour, unsigned int &minute, unsigned int &second, unsigned int &millisecond);
  unsigned int Format (tTime &time, char format[], char &output[], unsigned int index);
  void TZConvert(unsigned int tzoneFrom, unsigned int tzoneTo, unsigned int hr, unsigned int min, unsigned int &hour, unsigned int &minute);
  long Elapsed();   /*of current process*/
  boolean BigEndian();
  unsigned int BytesInWord();
  unsigned int Argc();   /*count of arguments on command line*/
  void Argv(unsigned int i, char &out[]); /*access string for command line arg i*/
  void Stop(long l);   /*halts executing process*/
  void GetEnv(char &inout[]);  /*Pass in name of environment variable; output value if defined*/
  unsigned int Spawn(char cline[], unsigned int view); 
  /*fork a process with a command line; path to execute first; view=0 minimized 1 max 2 normal*/

⌨️ 快捷键说明

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