有沒有在C/C++的項(xiàng)目里對(duì)Asyn函數(shù)調(diào)用提供PURE C/C++解決方案的! (不要直接用WINDOWS的內(nèi)核對(duì)象的)
在一個(gè)具體項(xiàng)目中想實(shí)現(xiàn)UNDO/REDO的功能, 操作的次數(shù)沒有限制, 而且數(shù)據(jù)的類型比較復(fù)雜. 如有這方面有經(jīng)驗(yàn)的高手, 可否談?wù)勀闶侨绾螌?shí)現(xiàn)的.
我先來: 在CAE領(lǐng)域, 用C/C++寫3D應(yīng)用程序, 在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.