What is Symbian C++?

|

การเขียนโปรแกรมภาษา Symbian C++ คล้ายกับ C++, แต่ถูกปรับปรุงเพื่อ อุปกรณ์พกหาซึ่งมีทรัพยากรต่ำ ประเด็นหลักๆ ของ Symbian C++ ได้แก่:

  • ควบุคม object’s life time ด้วย CleanupStack.
  • ใช้ exception handling ที่ดีกว่าด้วย Trap/Leave แทนที่จะเป็น try/catch.
  • String handling ด้วย descriptors.
  • Client/server model, asynchronous calls, and active object ตามนั้น ไม่รู้อะไรเหมือนกัน

ถ้าเป็นมือใหม่ก็ไปอ่านนี่ก่อน S60 Platform: Comparison of ANSI C++ and Symbian C++ document, จะอธิบายความแตกต่างของ Symbian C++ และ C++, จากนั้นก็ไปนี่ C++ Coding Conventions section ใน S60 3rd Edition C++ Developer's Library จะได้เขียนได้ตาม style ที่ดี

0 ความคิดเห็น:

แสดงความคิดเห็น