dream-in-fly
          路上...
          posts - 31,  comments - 6,  trackbacks - 0

          IRVINE, Calif. - June 06, 2005 - Blizzard Entertainment? today announced that World of Warcraft?, its massively multiplayer online role-playing game (MMORPG), has officially launched in China. Players in China can now download the game, create accounts and experience the epic adventure of the Warcraft? series in an immersive and continually evolving online environment. The commercial launch of World of Warcraft follows a highly successful open beta period in China during which the game reached a peak concurrency - the total number of subscribers playing simultaneously - of more than 500,000 players.

          "It has always been a goal at Blizzard to become a major developer and publisher for the Chinese gaming market," said Mike Morhaime, president and co-founder of Blizzard Entertainment. "We feel that China offers a huge and eager audience and it is poised to become the next great region in gaming. We are simply thrilled to be bringing World of Warcraft to this great country. With fully localized content, a regional network infrastructure, and local, around-the-clock customer support, we believe that World of Warcraft will provide Chinese gamers with an unparalleled game experience."

          To provide players with an incomparable level of service, Blizzard Entertainment has partnered with local publisher The9, who it believes to be the most talented MMO operator in China. The9 will help operate and manage World of Warcraft in China, including all aspects of support. The9's dedicated team, composed entirely of Chinese management and staff, will serve as an integral part of the game's development and customer service efforts. They will assist in the synchronization of content updates, the delivery of player feedback to the developers, and will help ensure accurate localization to keep the game relevant and tailored to Chinese gamers. Furthermore, this local team will offer 24-hour support year around, with direct game master (GM) support and local call-center representatives dedicated to helping players with questions regarding gameplay and/or technical issues.

          To deliver top-notch customer support and maintain a safe and secure service, Blizzard and The9 have implemented an authorization CD-key system for the official launch of World of Warcraft. This system will help protect the game from malicious hack programs that could otherwise affect players' enjoyment of the game.

          Only players who have purchased an authorized CD key will be able to activate their accounts and enter the game. Each CD key costs 30 Yuan/RMB and can be purchased with a World of Warcraft Points Card. Point Cards also cost 30 Yuan/RMB and can be used at a rate of 9 points per hour (0.45 Yuan/hour) to play World of Warcraft.

          posted @ 2005-06-07 16:16 小毅 閱讀(446) | 評論 (0)編輯 收藏

          需要包含頭文件:

          #include <alloc.h>

          #include <stdlib.h>

           

          函數(shù)聲明(函數(shù)原型)

          void *malloc(int size);

           

          說明:malloc 向系統(tǒng)申請分配指定size個字節(jié)的內(nèi)存空間。返回類型是 void* 類型。void* 表示未確定類型的指針。C,C++規(guī)定,void* 類型可以強制轉(zhuǎn)換為任何其它類型的指針。

           

          從函數(shù)聲明上可以看出。malloc new 至少有兩個不同: new 返回指定類型的指針,并且可以自動計算所需要大小。比如:

           

          int *p;

           

          p = new int; //返回類型為int* 類型(整數(shù)型指針),分配大小為 sizeof(int);

          或:

           

          int* parr;

           

          parr = new int [100];  //返回類型為 int* 類型(整數(shù)型指針),分配大小為 sizeof(int) * 100;

           

          malloc 則必須由我們計算要字節(jié)數(shù),并且在返回后強行轉(zhuǎn)換為實際類型的指針。

           

          int* p;

           

          p = (int *)  malloc (sizeof(int));

           

          第一、malloc 函數(shù)返回的是 void * 類型,如果你寫成:p = malloc (sizeof(int)); 則程序無法通過編譯,報錯:“不能將 void* 賦值給 int * 類型變量”。所以必須通過 (int *) 來將強制轉(zhuǎn)換。

          第二、函數(shù)的實參為 sizeof(int) ,用于指明一個整型數(shù)據(jù)需要的大小。如果你寫成:

           

          int* p = (int *) malloc (1);

          代碼也能通過編譯,但事實上只分配了1個字節(jié)大小的內(nèi)存空間,當你往里頭存入一個整數(shù),就會有3個字節(jié)無家可歸,而直接“住進鄰居家”!造成的結果是后面的內(nèi)存中原有數(shù)據(jù)內(nèi)容全部被清空。

           

          malloc 也可以達到 new [] 的效果,申請出一段連續(xù)的內(nèi)存,方法無非是指定你所需要內(nèi)存大小。

           

          比如想分配100個int類型的空間:

           

          int* p = (int *) malloc ( sizeof(int) * 100 ); //分配可以放得下100個整數(shù)的內(nèi)存空間。

           

          另外有一點不能直接看出的區(qū)別是,malloc 只管分配內(nèi)存,并不能對所得的內(nèi)存進行初始化,所以得到的一片新內(nèi)存中,其值將是隨機的。

           

          除了分配及最后釋放的方法不一樣以外,通過malloc或new得到指針,在其它操作上保持一致。

          posted @ 2005-06-06 23:01 小毅 閱讀(420) | 評論 (0)編輯 收藏

          <2005年6月>
          2930311234
          567891011
          12131415161718
          19202122232425
          262728293012
          3456789

          常用鏈接

          留言簿(4)

          隨筆分類

          隨筆檔案

          文章檔案

          blog 好友

          友情鏈接

          常用網(wǎng)站

          技術網(wǎng)站論壇

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 阿勒泰市| 阜新| 汝南县| 喀喇沁旗| 平顺县| 太白县| 吉木乃县| 宜都市| 内乡县| 灌阳县| 平原县| 沙洋县| 朝阳市| 于田县| 洛隆县| 梅州市| 武平县| 东港市| 鹿泉市| 简阳市| 铜山县| 花莲县| 康马县| 兴山县| 高雄县| 西峡县| 特克斯县| 平果县| 临潭县| 郎溪县| 宁南县| 墨竹工卡县| 斗六市| 敦化市| 梅州市| 民权县| 罗田县| 湘潭县| 中牟县| 高唐县| 射阳县|