C HTTP URL ½âÂë
Õ⼸ÌìÔÚʹÓÃÓÃCд¸öÏîÄ¿×éµÄ×Ô¶¯»¯²âÊÔ¹¤¾ßÀàËÆCGI³ÌÐò£¬µÚÒ»¸öÓöµ½µÄÎÊÌâ¾ÍÊDZàÂëÁË¡£
0~9 a~z A¡«ZÕâЩ×Ö·ûÊDz»»á±»±àÂëµÄ£¬µ«ÊDZÈÈçÒ»Ð©ÌØÊâ×Ö·û»òÊÇÖÐÎÄ£¬post»ògetÊý¾Ýʱ£¬»á¶ÔÊý¾Ý×Ô¶¯½øÐбàÂ룬±ÈÈ纺×Ö'ÖÐ',Èç¹ûÒ³Ãæ²ÉÓõÄÊÇgb2312±àÂ룬'ÖÐ'×ֻᱻ±àÂëΪ'%D6%D0'£¬ºöÂÔ'%'±êʶ,Á½¸öÊ®Áù½øÖÆÊý£¬¼´0xD6,0xD0£¬Áù¸ö×Ö·û¡£Èç¹ûÒ³ÃæÊÇutf-8±àÂ룬'ÖÐ'×ֻᱻ±àÂëΪ'%D6%D0%AD'£¬ºöÂÔ'%'±êʶ£¬Èý¸öÊ®Áù½øÖÆÊý£¬¼´0xD6,0xD0,0xAD,¾Å¸ö×Ö·û¡£
½âÂëʱ£¬±ÈÈçgb±àÂ룬Ҫ½«Áù¸ö×Ö·û±ä³ÉÁ½¸ö×Ö·û£¬¼´°Ñ×Ö·û´¦Àíºó£¬¿ÉÒÔ½«Á½¸öÊ®Áù½øÖÆÊýת»»ÎªÁ½¸öÊ®½øÖÆÊý£¬È»ºóÇ¿ÖÆ×ª»»ÎªÁ½¸ö×Ö·û¡£0xD6,214,0xD0,208;
char *encode="%D6%D0";
char decode[3];
decode[0]=214;//%D6,0xD6
decode[1]=208;//%D0,0xD0
decode[2]='\0';
printf("%s\n",decode);//Êä³ö'ÖÐ'¡£
utf-8±àÂë½âÂëÊÇͬÑùµÄÔÀí¡£
char *encode="%D6%D0%AD";
char decode[4];
decode[0]=214;//%D6,0xD6
decode[1]=208;//%D0,0xD0
decode[2]=173;//%AD,0xAD
decode[3]='\0';
printf("%s\n",decode);//Êä³ö'ÖÐ'¡£
¿ÉÒÔ¿´³öÀ´£¬²ÉÓÃutf-8£¬ÖÐÎıàÂë»áʹ´æ´¢¿Õ¼ä±ä´ó¡£¶ÔÓÚ½âÂ룬ÐèÒª¸öÊ®Áù½øÖƵ½Ê®½øÖƵÄת»»º¯Êý£¬ºÜ¼òµ¥Á˾ͿÉÒÔʵÏÖÁË¡£
Ïà¹ØÎĵµ£º
ÑϸñÀ´Ëµ£¬ÎÞ·¨´Óº¯Êý·µ»ØÒ»¸öÊý×飬µ«¿ÉÒÔ´Óº¯Êý·µ»ØÒ»¸öÖ¸ÏòÈκÎÊý¾Ý½á¹¹µÄÖ¸Õ룬°üÀ¨Ò»¸öÖ¸ÏòÊý×éµÄÖ¸Õë¡£
Ò»ÖÖ·½Ê½ÈçÏ£º
#include <stdio.h>
#include <stdlib.h>
int (*func())[20];//funcÊÇÒ»¸öº¯Êý£¬Ëü·µ»ØÒ»¸öÖ¸Ïò°üÀ¨20¸öintÔªËØµÄÊý×éµÄÖ¸Õë
int main(void)
{
  ......
»ùÓÚS3C2440µÄLinuxÄÚºËÒÆÖ²ºÍyaffs2ÎļþÏµÍ³ÖÆ×÷ ÊÕ²Ø
LinuxÄÚºËÒÆÖ²ºÍ¸ùÎļþÏµÍ³ÖÆ×÷
µÚÒ»ÕÂ ÒÆÖ²ÄÚºË... 2
1.1 LinuxÄں˻ù´¡ÖªÊ¶... 2
1.1.1 Linux°æ±¾... 2
1.1.2 ʲôÊDZê×¼ÄÚºË... 2
1.1.3 Linux²Ù×÷ϵͳµÄ·ÖÀà... 3
1.1.4 linuxÄں˵ÄÑ¡Ôñ... 4
1.2 LinuxÄÚºËÆô¶¯¹ý³Ì¸ÅÊö... 5
1.2.1 ......
CÓïÑÔ±àÒëÈ«¹ý³Ì
±àÒëµÄ¸ÅÄ±àÒë³ÌÐò¶ÁȡԴ³ÌÐò£¨×Ö·ûÁ÷£©£¬¶ÔÖ®½øÐдʷ¨ºÍÓï·¨µÄ·ÖÎö£¬½«¸ß¼¶ÓïÑÔÖ¸Áîת»»Îª¹¦ÄܵÈЧµÄ»ã±à´úÂ룬ÔÙÓÉ»ã±à³ÌÐòת»»Îª»úÆ÷ÓïÑÔ£¬²¢ÇÒ°´ÕÕ²Ù×÷ϵͳ¶Ô¿ÉÖ´ÐÐÎļþ¸ñʽµÄÒªÇóÁ´½ÓÉú³É¿ÉÖ´ÐгÌÐò¡£
±àÒëµÄÍêÕû¹ý³Ì£ºCÔ´³ÌÐò££>Ô¤±àÒë´¦Àí(.c)££ ......
C++ÄÚ´æ·ÖÅäÃØ¼®—new£¬malloc£¬GlobalAllocÏê½â
......
C/C+ÓïÑÔstructÉî²ã̽Ë÷
×÷ÕߣºËᦻª ³ö´¦£ºPConline
1. structµÄ¾Þ´ó×÷ÓÃ
¡¡¡¡Ãæ¶ÔÒ»¸öÈ˵ĴóÐÍC/C++³ÌÐòʱ£¬Ö ......