Uc Library Extensions
UnderC comes with a pocket implementation of the standard C++ libraries, which is a reasonably faithful subset. This documentation describes those UnderC functions and classes which are not part of the C++ standard.
Uc Library
Builtin functions:
Most of these are standard C functions, but there are a few unique to the UnderC system which give you runtime access to the compiler. You may evaluate expressions, execute commands, compile code, etc.
* Expands the text in expr using the UnderC preprocessor, putting the result
into buff.
void Uc_macro_subst(const char* expr, char* buff, int buffsize)
* Executes a Uc #-command, like #l or #help.
Uc_cmd() expects the name of the command, _without_ the hash,
e.g. Uc_cmd("l fred.cpp") or Uc_cmd("help").
void Uc_cmd(const char* cmd)
* Evaluates any C++ expression or statement will return non-zero if
unsUccessful.
標(biāo)簽:
implementation
Extensions
libraries
standard
上傳時(shí)間:
2013-12-14
上傳用戶:leehom61