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

ue±à¼­cÎļþÔÚunixÏÂÏÔʾ»»ÐзûÎÊÌâ

ÔËÐл·¾³ÊÇunix£¬ÎÒÓÃueÒÔftp·½Ê½Á¬µ½unixÉÏ£¬È»ºóÔÚueÖбàдc³ÌÐò£¬µ«ÔÚunixÏÂÓÃvi¿´³ÌÐòʱ£¬Ã¿ÐкóÃ涼¶àÁËÒ»¸ö^M£¬Õâ¸öÓ¦¸ÃÊÇunixµÄ»»Ðзû£¬Ã¿´ÎÖ»ÄÜɾ³ýÒ»±éÈ»ºó²ÅÄܱàÒ룬·ñÔò»á±¨´í£¬ÇëÎÊÕâÊÇÔÚueÖÐ×Ö·û±àÂëµÄÎÊÌ⣿¶þ½øÖƸñʽ£¿Ó¦¸ÃÈçºÎ½â¾öÄØ£¿Ð»Ð»£¡
Á¬GVIMµÄÎļþ¶¼»áÓУ¨LinuxϵÄVIMÎļþûÓÐ^M£©

vimÀïÓÐûÓÐ^M²»½öÒª¿´Îļþ±¾Éí£¬»¹Òª¿´ fileformats µÄÉèÖÃ
set fileformats=unixʱ ÔÙ´ò¿ªdos¸ñʽµÄÎļþ ¾Í»áÓÐ^M
ËùÒÔ¿ÉÒÔÉèÖÃfileformats=unix,dos,mac ÕâÑù¾Í¿´²»µ½^MÁË

ºÃÏñÊǵÚÒ»´Î´ò¿ªµÄʱºòUEÓиöÌáʾ£¬ÎÊÒª²»Òª×ª»»³ÉDOSµÄÐÎʽ£¬Òªµã·ñ£¬²»È»ÔÚVIÏ¿´µÄʱºòÓиö»»ÐеÄM

½¨ÒéÄãÔÚUNIXÏ°²×°Ò»¸övim
viÕⶫÎ÷²»ÊÇÈËÓõģ¬ÊÇÉñÓõÄ

dos2unix

ÒòΪwindowsÏ»»ÐÐʱ/r/nÒ»ÆðÀ´£¬unixÏÂÖ»ÓÐ/r


Ïà¹ØÎÊ´ð£º

c ÓïÑÔ ¼ì²éÀ¨ºÅÆ¥Åä ²»ÄÜÔËÐÐ £¿£¿£¿£¿

¸÷λÇë°ïÎÒ¿´Ò»ÏÂÕâ¸ö¶«Î÷£¬ ÎÒÒªÔÚcÓïÑÔÖÐʵÏÖÀ¨ºÅÆ¥Å䣬Éè¼Æ˼·£º°Ñ´ÓÁ´Õ»ÖÐɨÃèµÃµ½µÄ'}',¡®]',')'ÏÈ´æ´¢µ½¶¯Ì¬ÉêÇëµÄÄÚ´æ¿Õ¼äÖУ¬µ±É¨Ãèµ½¡®{','[','('ʱ ÔÚµ¯³öÏÈÇ°´ ......

ÇóMACËã·¨ c/c++´úÂë

Ëã·¨Á÷³Ì
±¾Îĸù¾Ý¡¶ÖйúÒøÁªÖ±ÁªPOSÖն˹淶¡·µÄ²ûÊö£¬ÓÃCÓïÑÔ±à³ÌʵÏÖ£¬¸ÃËã·¨ÔÚʵ¼ÊµÄÉÌÒµPOSÖÕ¶ËÖÐʹÓá£POSÖն˲ÉÓãţãµļÓÃÜ·½Ê½£¬¼òÊöÈçÏ£º
a) ½«Óû·¢Ë͸øPOSÖÐÐĵÄÏûÏ¢ÖУ¬´ÓÏûÏ¢ÀàÐÍ£¨MTI£©µ½63Ó ......

Õâ¸öÊÇʲôÒâ˼£¬unsigned int c:2, d:1;

struct s1 {
char ch, *ptr;
union {
short a, b;
unsigned int c:2, d:1;
}
struct s1 *next;
};


Ö÷Òª¿´²»¶®·ûºÅ¡¡:

Çë´ïÈËÖ¸µãÒ»¶þ
http://blog.cechina.cn/true ......

c signalµ÷ÓÃÎÊÌâ

¿ªÊ¼Ñ§OS,°´Á·Ï°ÒªÇóдµÄ´úÂëÔÚgccÏÂÎÞ·¨±àÒ룺

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>

void SIGFPEhandler2(int s ......

extern "C"ÎÊÌâ

/*-----------c.h--------------*/
#ifndef _C_H_
#define _C_H_
extern "C" int add(int x, int y);
#endif

/*-----------c.c--------------*/
int add(int x, int y){
return ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ