pocketC 發展商 homepage
http://www.orbworks.com/architect/langapi.html
這個是
orbworks 好像 有分 OrbC PocketC Architect] pocketC_aplm pocketC_WINCE
是否 都算 c 但寫法不太相同
但是 pocketC architectur 不是 pocketc嗎 ??
The OrbC language is similar in style to C - using the same control constructs, expressions, and function style. The language supports four basic types (int, char, float, string), arrays, pointers, structs, objects, and interfaces. Although based on C, there are many differences that make the OrbC language easier to learn and use, and more efficient to work with.
To ease the transition from PocketC to PocketC Architect, applications can be written using the classic PocketC model with a main() function and event loops. With the inclusion of compatibility headers, your classic PocketC application can be compiled by PocketC Architect with little modification:
// Triangle
@app myApp { creator = "TriA"; name = "Triangle"; dbname = "Triangle"; }#include "pc_most.oc" // compat headerint tx[3], ty[3], x, y; main() { int i, r; tx[0] = 80; ty[0] = 24; tx[1] = 10; ty[1] = 150; tx[2] = 150; ty[2] = 150; r = random(3); x = tx[r]; y = ty[r]; graph_on(); title("Sierpinsky's Triangle"); while (true) { r = random(3); x = (x + tx[r])/2; y = (y + ty[r])/2; line(1, x, y, x, y); }}可以 我在 pocketc desktop 6.66 使用 @app myApp { creator = "TriA"; name = "Triangle"; dbname = "Triangle"; }會說 error 但是使用@cid "test"; // creator id
@name "TaiwanPowerPole"; // display name
@dbname "PowerPole-GPS"; // name of .prc database
@licon8 "power1.bmp";
@sicon8 "power2.bmp";
可以 compiler 出 prc 有人知道 為何 會如此嗎 應該只有 palm 須要creator id那是版本問題嗎 還是 ?
[
本帖最后由 andy2000a 于 2006-9-28 21:30 编辑 ]