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

cÏÝÚåÓëȱÏÝѧϰ±Ê¼Ç

http://c.chinaitlab.com/c/basic/200907/789321.html
  ´Ê·¨ÏÝÚ壺
    1        = ²»Í¬ÓÚ£½£½²»ÒªÔÚ³ÌÐòÖн«Á½Õßд´í£¬Ð¡ÐÄ¡£½«±í´ïʽÓë³£Á¿±È½Ïʱ£¬¿É½«³£Á¿·ÅÔÚ×ó±ß¡£
    2        &ºÍ| ²»Í¬ÓÚ&& ºÍ ||.
    3        ´Ê·¨·ÖÎöÖеÄÌ°ÐÄ·¨£ºÃ¿¸ö·ûºÅÓ¦¸Ã°üº¬¾¡¿ÉÄܶàµÄ×Ö·û¡£Èç¹û£¨±àÒëÆ÷µÄ£©ÊäÈëÁ÷½ØÖÁij¸ö×Ö·ûÇ°¶¼ÒѾ­·Ö½âΪһ¸ö¸ö·ûºÅ£¬ÄÇôÏÂÒ»¸ö·ûºÅ½«°üÀ¨´Ó¸Ã×Ö·ûÖ®ºó¿ÉÄÜ×é³ÉÒ»¸ö×Ö·ûµÄ××Ö·û´®¡£Èçy = x/*p£¬ÄÇô/*½«×÷Ϊһ¸ö·ûºÅ¶Ô´ý¡£
    4        Èç¹ûÒ»¸öÕûÐαäÁ¿µÚÒ»¸ö×Ö·ûÊÇ0£¬ÄÇô¸Ã³£Á¿±»ÊÓΪ8½øÖÆÊý¡£
    5        Char c = ‘cxf’¡£ÔÚvcºÍGccÖУ¬ÒÀ´ÎÓúóÒ»¸ö×Ö·û¸²¸ÇÇ°Ò»¸ö×Ö·û£¬×îºóµÃµ½µÄÕûÊýÖµÊÇ×îºóÒ»¸ö×Ö·ûµÄÕûÊýÖµ¡£
    Óï·¨ÏÝÚ壺
    1       
c±äÁ¿ÉùÃ÷ÓÉÀàÐͺÍÒ»×éÀàËƱí´ïʽµÄÉùÃ÷·û×é³É¡£ÉùÃ÷·ûÓë±í´ïʽÀàËÆ£¬¶ÔËûÇóÖµ·µ»ØÒ»¸öÉùÃ÷Öиø¶¨ÀàÐ͵Ľá¹û¡£Èçfloat f£¬
£¨£¨f£©£©¡£ÖªµÀÁËÈçºÎÉùÃ÷Ò»¸ö±äÁ¿£¬ÄÇô¸ÃÀàÐ͵ÄÀàÐÍת»»·û¾ÍºÜÈÝÒ׵õ½ÁË£º½«ÉùÃ÷ÖеıäÁ¿ÃûºÍ·ÖºÅÈ¥µô£¬ÔÙ½«Ê£ÓàµÄ²¿·ÖÓøöÀ¨ºÅ“·â×°”ÆðÀ´¼´¿É¡£Èç
float£¨*h£©
£¨£©£¬Ôòfloat£¨*£©£¨£©¾ÍÊÇ“Ö¸Ïò·µ»ØÖµÊǸ¡µãÀàÐ͵ĺ¯ÊýµÄÖ¸Õ딵ÄÀàÐÍת»»·û¡££¨*£¨void£¨*£©£¨£©£©0£©£¨£©µ÷ÓõØַΪ0λÖõĵÄÀý³Ì¡£
    2        ÔËËã·ûÓÅÏȼ¶£ºµ¥Ä¿ÔËËã·û£¬ËãÊõÔËËã·û£¬ÒÆ룬¹Øϵ£¬Âß¼­£¬Ìõ¼þ£¬ ¸³Öµ¡£
    3        switchÓï¾äÖÐcaseÖУ¬²»ÒªÍü¼Çbreak£¬Èô¿ÌÒâҪʡÂÔ£¬Çë¼Ó×¢ÊÍ¡£
    4        CÓïÑÔÖÐÖ»ÓÐһάÊý×飬¶øÇÒÊý×éµÄ´óС±ØÐëÔÚ±àÒëÆÚ¼ä¾Í×÷Ϊһ¸ö³£ÊýÈ·¶¨ÏÂÀ´¡£¶àάÊý×éÊÇͨ¹ýһάÊý×é·ÂÕæµÄ£¬ÒòΪÊý×éµÄÔªËØ¿ÉÒÔÊÇÈκζÔÏ󣬵±È»Ò²¿ÉÒÔÊÇÊý×é¡£
    ¶ÔÊý×飬ÎÒÃÇÖ»ÄÜ×öÁ½¼þÊ£¬È·¶¨Æä´óС£¬ÒÔ¼°»ñµÃÖ¸Ïò¸ÃÊý×éϱêΪ0µÄÔªËصÄÖ¸Õë¡£ÆäËüµÄÓйØÊý×éµÄ²Ù×÷


Ïà¹ØÎĵµ£º

090928ÈÕcÓïÑÔѧϰÈռǣ¨ÎļþI/O)

#include<stdio.h>
#include<stdlib.h>
#define MAX 41
static int i=0;
int main(void)
{
FILE *fp;
char words[MAX];
if((fp=fopen("words","a+"))==NULL)
{
fprintf(stdout,"Can't open \" word\" file\n");
exit(1);
}
puts("Enter words to add to the file,press the enter.");
......

CÓïÑÔÖÐÇÉÓÃÕýÔò±í´ïʽ(1)

Èç¹ûÓû§ÊìϤLinuxϵÄsed¡¢awk¡¢grep»òvi£¬ÄÇô¶ÔÕýÔò±í´ïʽÕâÒ»¸ÅÄî¿Ï¶¨²»»áÄ°Éú¡£ÓÉÓÚËü¿ÉÒÔ¼«´óµØ¼ò»¯´¦Àí×Ö·û´®Ê±µÄ¸´ÔӶȣ¬Òò´ËÏÖÔÚÒѾ­ÔÚÐí¶àLinuxʵÓù¤¾ßÖеõ½ÁËÓ¦Óá£Ç§Íò²»ÒªÒÔΪÕýÔò±í´ïʽֻÊÇPerl¡¢Python¡¢BashµÈ½Å±¾ÓïÑÔµÄרÀû£¬×÷ΪCÓïÑÔ³ÌÐòÔ±£¬Óû§Í¬Ñù¿ÉÒÔÔÚ×Ô¼ºµÄ³ÌÐòÖÐÔËÓÃÕýÔò±í´ïʽ¡£
±ê×¼µÄCºÍC ......

¹ØÓÚcÓïÑÔ´´½¨dllÎļþ¼°dllÎļþµÄµ÷ÓÃ

½üÀ´ÓÖÓÐÈËÔÚȺÀïÎÊÈçºÎÓÃcÓïÑÔ±àÖÆdllÎļþ£¨¶¯Ì¬Á´½Ó¿â£©¡£
Ô­À´Ã»ÓжÔÕâ¸öÎÊÌâÌ«ÔÚÒâ¹ý£¬Ò²Ã»Óг¢ÊÔ¹ýÈκνâ¾ö·½°¸£¬±Ï¾¹Ô­À´ÎÒÊÇÓÃvbµÄ£¨ÏÖÔÚÓÃ.net£©£¬×ö¸ödllÖ»²»¹ýÊǵãѡһϽ¨Á¢activeX dll¹¤³ÌµÄͼ±ê¶øÒÑ¡£½ñÌìÔÚÍøÉÏÓëÅóÓÑÁÄÌ죬¿´ÁËËûÖ¸¸øÎҵļ¸¸ö¼¸¸öÎļþ£¬ÓÃMingW½«C³ÌÐò±àÒë³ÉdllÎļþµÄÀý×Ó£¬ÎÒ»ÐÈ»´óÎò£¬Ô­À ......

C#ÓëC++¡¢JAVAµÄÇø±ð


#(¶Á×ö "C sharp")ÊÇ΢Èí¹«Ë¾ÔÚÈ¥ÄêÁùÔ·¢²¼µÄÒ»ÖÖеıà³ÌÓïÑÔ,²¢¶¨ÓÚÔÚ΢ÈíÖ°Òµ¿ª·¢ÕßÂÛ̳(PDC)ÉϵÇ̨ÁÁÏà.C#ÊÇ΢Èí¹«Ë¾Ñо¿Ô±Anders HejlsbergµÄ×îгɹû.C#¿´ÆðÀ´ÓëJavaÓÐמªÈ˵ÄÏàËÆ;Ëü°üÀ¨ÁËÖîÈçµ¥Ò»¼Ì³Ð,½çÃæ,ÓëJava¼¸ºõͬÑùµÄÓï·¨,ºÍ±àÒë³ÉÖмä´úÂëÔÙÔËÐеĹý³Ì.µ«ÊÇC#ÓëJavaÓÐ×ÅÃ÷ÏԵIJ»Í¬,Ëü½è¼øÁËDelphiµÄÒ»¸ ......

Cö¾ÙÀàÐ͵ÄʹÓ÷½·¨

1.  ö¾ÙµÄ¶¨Òåö¾ÙÀàÐͶ¨ÒåµÄÒ»°ãÐÎʽΪ£º
    enum ö¾ÙÃû{ ö¾ÙÖµ±í };
ÔÚö¾ÙÖµ±íÖÐÓ¦ÂÞÁгöËùÓпÉÓÃÖµ¡£ÕâЩֵҲ³ÆΪö¾ÙÔªËØ¡£
ÀýÈ磺
   
¸Ãö¾ÙÃûΪweekday£¬Ã¶¾ÙÖµ¹²ÓÐ7¸ö£¬¼´Ò»ÖÜÖеÄÆßÌì¡£·²±»ËµÃ÷ΪweekdayÀàÐͱäÁ¿µÄÈ¡ÖµÖ»ÄÜÊÇÆßÌìÖеÄijһÌì¡£
2.  ö¾Ù±äÁ¿µ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ