Posts

ActionScript 3.0程式最佳化

ActionScript 3.0程式最佳化(一)以及Vector資料類型簡介 http://uh.9ria.com/space-6264-do-blog-id-2233.html ActionScript 3.0程式最佳化(二) http://uh.9ria.com/space-6264-do-blog-id-2234.html

The difference of dedicated server and cloud computing

http://www.ubscure.com/Art/95751/97/Dedicated-Server-Vs-Cloud-Computing.html http://forums.asp.net/t/1675154.aspx/1?what+is+the+differences+between+dedicated+server+cloud+servers+shared+servers+virtual+detected+servers+ http://www.esds.co.in/data-centers/kb/whats-the-difference-between-cloud-computing-and-hosting-on-an-online-web-server/

Using Interfaces in C++

Method 1. #include "objbase.h"  //~~~!! for interface identifier #include "stdio.h" interface IAnimal {     virtual void Forward() = 0;     virtual void Eat() = 0; }; class CBird : public IAnimal {   virtual  void Forward()     {         printf( "walk 3 steps \n" );     };    virtual void Eat()     {         printf( "eat 5 rice \n" );     }; }; void main() {       IAnimal *pAnm = NULL;     CBird bird;        pAnm = &bird;     pAnm->Forward();   } In this method, you need to #include "objbase.h" . And write pure virtual func. in the interface class. Method 2. In VS7 Microsoft has judged __interface introduction in c++ compiler( macOS c++  support?...)  In the msdn  __interfa...

Cloud computing

http://www.infoworld.com/d/cloud-computing/cloud-versus-cloud-guided-tour-amazon-google-appnexus-and-gogrid-122 http://programmers.stackexchange.com/questions/64727/windows-azure-vs-amazon-ec2-vs-google-app-engine Apache cloud computing edition http://svn.apache.org/repos/asf/labs/clouds/apache_cloud_computing_edition.pdf

xcode precompiler header

In your xcode proj. You can see a other sources group. there is a xxx_Prefix.PCH. In this *.PCH, If you write the cpp code, you should add #if defined __cplusplus #include "MUtils.h" #endif Then the precompiler header function would be worked. Reference: http://www.facebook.com/note.php?note_id=220473491312585 http://forum.soft32.com/mac/Xcode-precompiled-header-files-problem-ftopict47632.html

Titanium Appcelerator vs. PhoneGap vs. Adobe Air

http://savagelook.com/blog/portfolio/appcelerator-vs-phonegap-vs-adobe-air

C++ template in Objective C++

Vector3D.h template(class Type) class cMVector3D { public:     Type x;     Type y;     Type z;     public:     //--------------------------------     // @breif: Constructor     //--------------------------------     cMVector3D(): x(0), y(0), z(0) {};         //--------------------------------     // @breif: Destructor     //--------------------------------     ~cMVector3D() {}; }; main.mm    --- if your program is objective c  hybrid with c++, you need to rename your file ext. from *.m to *.mm. #import "MVector3D.h" int main(int argc, char *argv[]) {         NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];         cMVector3D(float)   testV;     ~~~template success ...