Symbian C/S »úÖÆ·ÖÎö
ÒÔÏ·ÖÎö»ùÓÚ£º
Developer Platform :S60 3rd Edition, Feature Pack 2 SDK
Operating System :Symbian OS v9.3
Ò»£¬ÎªÊ²Ã´ÒªÊ¹ÓÃClient/Server¼Ü¹¹
ÔÚSymibian OSÖÐËùÓеÄÒì²½·þÎñ¶¼ÊÇServerͨ¹ýC/S¼Ü¹¹À´ÊµÏֵġ£ClientÊÇÀûÓÃServerÌṩµÄÌض¨·þÎñµÄ³ÌÐò£¬Server½ÓÊÜÀ´ÖÁClientµÄÇëÇóÏûÏ¢²¢Í¬²½»òÒì²½µÄ´¦ÀíËûÃÇ¡£C/S¼Ü¹¹ÓÐÈçϵÄÓŵ㣺
1£¬¿ÉÀ©Õ¹ÐÔ
2£¬ÓÐЧÐÔ£ºÏàͬµÄServer¿ÉÒÔ·þÎñ¶à¸öClient¡£
3£¬°²È«ÐÔ£ºServerºÍClient´æÔÚÓÚµ¥¶ÀµÄ½ø³ÌÖУ¬²¢ÇÒͨ¹ýÏûÏ¢´«µÝ½øÐÐͨÐÅ¡£¾ßÓдíÎóÐÐΪClient²»»áʹËûµÄServer±ÀÀ££¨µ«ÊÇ£¬Server¿ÉÒÔͨ¹ý¿Í»§Ï̵߳ľä±úÀ´ÊǾßÓдíÎóÐÐΪµÄClient²úÉúÑÏÖØ´íÎ󣩡£
4£¬Òì²½ÐÔ£ºÔÚ·þÎñÆ÷Íê³ÉÇëÇóµÄʱºòʹÓÃAO»úÖÆÀ´Í¨ÖªËûµÄClient¡£Í¨¹ýAOÀ´¹ÒÆðÏ̶߳ø²»ÊÇÂÖѯÇëÇóµÄ״̬£¬SymbianOS¼õÉÙÁË´¦Àí¸ÃÇëÇóµÄ´¦ÀíÆ÷ÖÜÆÚ£¬´Ó¶ø½ÚÔ¼Á˵çÔ´£¬Õâ¶ÔÓÚÒƶ¯É豸À´ËµÊǷdz£ÖØÒªµÄ¡£
¶þ£¬Client/Server¼Ü¹¹µÄ´¦ÀíÁ÷³Ì
ClinetºÍServer´¦ÓÚ²»Í¬µÄ½ø³ÌÖУ¬ËûÃÇÎÞ·¨·ÃÎʱ˴˵ÄÐéµØÖ·¿Õ¼ä£¬ËùÒÔËûÃÇʹÓÃÏûÏ¢´«µÝÐÒéÀ´Í¨ÐÅ£¬ÕâÖÖͨÐŵÄÇþµÀ¾Í³ÆΪ»á»°¡£»á»°ÓÉÄں˴´½¨£¬Í¬Ê±Äں˻¹ÔÚËùÓеÄClient/ServerͨÐÅÖг䵱ý½é¡£
·þ Îñ£¬ÌرðÊÇϵͳÌṩµÄ·þÎñ£¬±ÈÈ磺Îļþ·þÎñ£¬´°¿Ú·þÎñºÍ×ÖÌåºÍλͼ·þÎñµÈ¶¼ÊÇÔÚϵͳÆô¶¯µÄʱºò¾ÍÆô¶¯ÁË¡£µ±È»Èç¹ûÊÇ×Ô¼º×öµÄserver¿ÉÒÔÔÚÐèÒªµÄʱ ºò£¬¼´µ±ÓÐclient·¢³öÇëÇóµÄʱºòÔÙÆô¶¯¡£È»ºó·þÎñÆ÷×èÈûÔÚij¸öµãÉÏ£¬µÈ´ýclientÇëÇóµÄµ½À´¡£ÔÚClient·¢³öÒ»¸öÇëÇóºó£¬·þÎñÆ÷»ánewÒ» ¸ö×ӻỰÀ´´¦ÀíÕâ¸öclientµÄÇëÇó£¬È»ºó×Ô¼ºÓÖ¼ÌÐø×èÈûÔÚ¼àÌýÇëÇóµÄµãÉÏ£¬ÒÔÂú×ãÆäËûClientµÄÇëÇó¡£Ã¿¸öClientºÍServerµÄºóÐø½»»¥ ¶¼ÊÇͨ¹ýÁ¬½ÓServerʱ´´½¨µÄSessionÀ´Íê³ÉµÄ¡£
Èý£¬RÀà½éÉÜ
C/S¼Ü¹¹Ãâ²»ÁËҪʹÓÃRÀ࣬ÄÇôʲôÊÇRÀàÄØ£¿ÕâÀïµÄ"R"ÊÇResourceµÄµÚÒ»¸ö×Öĸ£¬ÊÇ×ÊÔ´µÄÒâ˼¡£
1£¬¼ò½é
¾ßÓÐ"R"ǰ׺µÄÀà±íʾij¸ö×ÊÔ´µÄ¿Í»§¶Ë¾ä±ú¡£Ó¦ÓóÌÐòʵ¼ÊÉϲ¢²»ÓµÓÐ×ÊÔ´£¬×ÊÔ´ÓÉÉ豸ÉÏÒ»¸öSymbian OS ·þÎñÆ÷ËùÓµÓУ¬·þÎñÆ÷¹ÜÀí×ÊÔ´µÄʹÓ᣿ͻ§¿ÉÒÔʹÓÃÕâЩ¾ä±ú·ÃÎÊ·þÎñÆ÷¹ÜÀíµÄ×ÊÔ´£¬²¢ÇëÇóʹÓÃËüµÄ¹¦ÄÜ¡£
R ÀàûÓÐÈκι«¹²µÄ»ùÀ࣬ÓÐЩ·Ö¿éµÄÅÉϵÀ࣬±ÈÈ磬ÓÐЩÀàÊÇ´ÓRHandleBaseÅÉÉú—RFs£¬¶øÓеÄʲô¶¼²»ÊÇ—RWindowµÈ¡£Ò»°ãÀ´Ëµ£¬RÀàÊÇ ÔÚÕ»ÉÏʵÀý»¯»òÊÇǶÌ×ÔÚCÀàÖУ¬È»ºóͨ¹ýijÖÖ·½Ê½´ò¿ªËûÃÇ£¨Í¨³£Í¨¹ýÒ»¸ö·½·¨µ÷ÓÃÀ´´ò¿ª£¬ÀýÈçµ÷ÓÃOpen()»òConnect()£©¡£½áÊøʹÓÃËüÃÇʱ£¬ ÓбØҪʹÓÃÊʵ±µÄ·½·¨À´´¦À
Ïà¹ØÎĵµ£º
LinuxÏÂCºÍC++¿ª·¢»ù´¡
»ù±¾±à³Ì¸ÅÄî
n ±à³ÌÓïÑÔ£ºC ¡¢C++
n ±àÒë(compile)£ºÔ´Îļþ£¨.c£©->Ä¿±êÎļþ(.o)
n Á¬½Ó(link)£ºÄ¿±êÎļþ(.o)->¿ÉÖ´ÐÐÎļþ
n ¿â(library)£º¾²Ì¬Á¬½Ó¿â(.a)¡¢¶¯Ì¬Á¬½Ó¿â(.so)
LinuxÏ¿ª·¢¹¤¾ß
n±à¼Æ÷£ºvi¡¢emacs¡¢´°¿Ú±à¼Æ÷
n±àÒëÆ÷£ºGCC
nµ÷ÊÔÆ÷£ºGDB
n¿ÉÖ´ÐÐÎļþ¹¤¾ß£ ......
NAME
perlembed - ÔÚ C ³ÌÐòÖÐǶÈë perl
DESCRIPTION
µ¼ÑÔ
ÄãÊÇÏëÒª£º
ÔÚ Perl ÖÐʹÓà C£¿
ÔĶÁ perlxstut¡¢perlxs¡¢h2xs¡¢perlguts ºÍ perlapi¡£
ÔÚ Perl ÖÐʹÓà Unix ³ÌÐò£¿
& ......
/*±àд³ÌÐò£¬ÊäÈë2¸öÊýÒÔ¼°¼Ó¼õ³Ë³ýÖеÄijÔËËã·ûºÅ£¬²¢µ÷ÓÃ×Ô¼º±àдµÄº¯Êý¼ÆËãÏàÓ¦µÄ½á¹û*/
#include<stdio.h>
#include<conio.h>
float cal(int a,char sym,int b);
main()
{
int a=0,b=0;
char sym='\0';
float c=0.0;
scanf("%d%c%d",&a,&sym,&b);
c=c ......
#include "mex.h"
#define DWORD long
#define NUMBER_OF_STRUCTS (sizeof(friends)/sizeof(struct phonebook))
#define NUMBER_OF_FIELDS (sizeof(field_names)/sizeof(*field_names))
void mexFunction(int nlhs,
mxArray * plhs[] , int nrhs,const mxArray * pahs[])
{
typedef struc ......
¶Ô¼¼ÊõÖ´×ŵÄÈË£¬±ÈÈç˵ÎÒ£¬ÍùÍù¶ÔһЩÎÊÌ⣬²»½öÏë×öµ½“ÖªÆäÈ»”£¬»¹Ïë×öµ½“ÖªÆäËùÒÔÈ»”¡££ÃÓïÑÔ¿Éν²©´ó¾«É¼´Ê¹ÎÒÒѾÓжàÄêµÄ¿ª·¢¾Ñ飬¿É»¹ÊÇÓÐÐí¶àÎÊÌâ²»ÖªÆäËùÒÔÈ»¡£Ä³ÌìijµØijÈËÎÊÎÒ£¬£ÃÓïÑÔÖк¯Êý²ÎÊýµÄÈëջ˳ÐòÈçºÎ£¿´ÓÓÒÖÁ×ó£¬ÎÒËæ¿Ú»Ø´ð¡£ÎªÊ²Ã´ÊÇ´ÓÓÒÖÁ×óÄØ£¿ÎÒÖÕ¾¿Ã»Óиø³öºÏÀíµÄ½â ......