有沒有在C/C++的項目里對Asyn函數調用提供PURE C/C++解決方案的! (不要直接用WINDOWS的內核對象的)
在一個具體項目中想實現UNDO/REDO的功能, 操作的次數沒有限制, 而且數據的類型比較復雜. 如有這方面有經驗的高手, 可否談談你是如何實現的.
我先來: 在CAE領域, 用C/C++寫3D應用程序, 在WINDOWS上用VC, LIUNX/UNIX只用C++和VI.
ZeroC project status
Zero C project provide another C-script platform for c/c++ developer, it includes compiler and virtual machine package.
Zero C compiler can parse the C-script file and compiler into ascii ASM file (a instruction set will be provided). VM (virutal machine) will read the ASM code and run program.
The current project have implemented most of features:
1) Data Type/basic C-language
Basic C-lanauage data types are implemented (bool, int, float, string, user-defined).
2) Function/Param pass-by-value/Param pass-by-reference
Two parameter-pass methods are implemented, pass-by-value and pass-by-reference.
3) Array
Dynamic-array is implemented (static array is not supported).
4) Communication between script and application
The host application can call the script function in standard protocol, as the same the, host application can provide the function, which can be called from Script scratch code.
5) standard library support.
The standard libary is very important to end-user, current Zero C provide some standard libraries (Math, STRING, IO). Some advance libray will be considered later. Maybe it will include XML, GUI.
Most of inspiration is from www.lua.org, Lua language provide the excellent mechanism and samples to clearify what and how to use script.