Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

C³£Óú¯Êý

¼ì²é¿Õ¸ñ×Ö·û
#include <ctype.h>
int isspace ( int c );
http://www.cplusplus.com/reference/clibrary/cctype/isspace/
Checks if parameter c is a white-space character.For the purpose of this function, standard white-space characters are:
' '
(0x20)
space (SPC)
'\t'
(0x09)
horizontal tab (TAB)
'\n'
(0x0a)
newline (LF)
'\v'
(0x0b)
vertical tab (VT)
'\f'
(0x0c)
feed (FF)
'\r'
(0x0d)
carriage return (CR)
 /* isspace example */
#include <stdio.h>
#include <ctype.h>
int main ()
{
int c;
int i=0;
char str[]="Example sentence to test isspace\n";
while (str[i])
{
c=str[i];
if (isspace(c)) c='\n';
putchar (c);
i++;
}
return 0;
}

/*
This code prints out the C string character by character, replacing any white-space character by a newline character. Output:

Example
sentence
to
test
isspace
*/


memcpyʵÏÖ£º
char *strcpy(char *strDest, const char *strSrc){
assert((strDest!=NULL) && (strSrc !=NULL)); // 2·Ö
char *address = strDest; // 2·Ö
while( (*strDest++ = * strSrc++) != '\0' ) // 2·Ö
NULL ;
return address ; // 2·Ö
}


Ïà¹ØÎĵµ£º

C/C++±ÊÊÔÌâÄ¿´óÈ«

 1.ÇóÏÂÃæº¯ÊýµÄ·µ»ØÖµ£¨Î¢Èí£©
¡¡¡¡int func(x)
¡¡¡¡{
¡¡¡¡int countx = 0;
¡¡¡¡while(x)
¡¡¡¡{
¡¡¡¡countx ++;
¡¡¡¡x = x&(x-1);
¡¡¡¡}
¡¡¡¡return countx;
¡¡¡¡}
¡¡¡¡¼Ù¶¨x = 9999¡£ ´ð°¸£º8
¡¡¡¡Ë¼Â·£º½«xת»¯Îª2½øÖÆ£¬¿´º¬ÓеÄ1µÄ¸öÊý¡£
¡¡¡¡2. ʲôÊÇ“ÒýÓÔ£¿ÉêÃ÷ºÍʹÓÓÒýÓ ......

ʹÓÃPythonÓïÑÔÉè¼Æ»ùÓÚHTMLµÄCÓïÑÔÓï·¨¼ÓÁÁÏÔʾ³ÌÐò

2005-2006ѧÄêµÚ1ѧÆÚ
±à Òë Ô­ Àí 
¿Î ³Ì Éè ¼Æ ±¨ ¸æ
°à¼¶   02¼Æ(¶þ)   
ѧºÅ     19     
ÐÕÃû     ÁõÏþÃ÷     
³É¼¨           
Ö¸µ¼½Ìʦ   ¬³¯»Ô   
Ò»¡¢   Éè¼ÆÄ¿µÄ
¼ÓÉî¶Ô±àÒ ......

C\C++¹ØÓÚstring.hÍ·ÎļþºÍstringÀà

 Ñ§Ï°CÓïÑÔʱ£¬ÓÃ×Ö·û´®µÄº¯ÊýÀýÈçstpcpy()¡¢strcat()¡¢strcmp()µÈ£¬Òª°üº¬Í·Îļþstring.h
ѧϰC++ºó£¬C++ÓÐ×Ö·û´®µÄ±ê×¼Ààstring£¬stringÀàÒ²Óкܶ෽·¨£¬ÓÃstringÀàʱҪÓõ½string.hÍ·Îļþ¡£
ÎÒÏÖÔÚ¿´vcµÄÊéÉÏÒ²ÓÐCStringÀ࣬Õâ¸öÒª°üº¬Ê²Ã´£¬ÔõôÓÃ?
ÎÒÏÖÔÚºÜÃÔ»ó£¬ÕâÁ½¸ö string.hÓÐÊ²Ã´Çø±ð¡£ÊÇÔõô»ØÊÂ
ÇÒ¿´ ......

Eclipse¶ÔC/C++µÄÖ§³Ö±ÈNetbeansºÃ¶àÁË

Netbeans¾­³£»á³öÏÖд´úÂëµÄʱºò´úÂëÌáʾ³ö²»À´µÄÇé¿ö£¬ÉõÖÁÊÇ´úÂë¸ù±¾Ã»´í£¬±àÒë¶¼ÄÜͨ¹ý£¬µ«ÊÇ´úÂë°ïÖú¾ÍÌáʾÎÒ˵ÎÒÓдíÎó£¬ÔÚÏÂÃæ»­ÌõºìÏߣ¡¶øÕâЩÎÊÌâEclipseûÓгöÏÖ¹ý£¡¶øÇÒEclipseÓÐרÃŵÄCDT²å¼þ¿ª·¢Ð¡×飬ºÜºÃÇ¿´ó¡£ ......

[תÌù]linuxÏÂcÓïÑÔǶÈë»ã±à

 ÍøÉÏ¿´µ½µÄÕâÆª¹ØÓÚLinuxÏÂCÓïÑÔǶÈë»ã±àµÄÎÄÕÂдµÄ·Ç³£È«£¬×ªÔعýÀ´¡£
Using Assembly Language in Linux.
IntelºÍAT&T»ã±àÓï·¨²îÒ죺
1¡£Ç°×º£º
Intel»ã±à¼Ä´æÆ÷ºÍÁ¢¼´ÊýÎÞÐèǰ׺¡£ºóÕ߼ĴæÆ÷ǰ׺Ϊ%£¬Á¢¼´Êýǰ׺Ϊ$¡£
eg£º
   Intex Syntax
   mov eax,1
   mov ebx,0f ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ