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

C Sharp ÈëÃÅ£¨Ò»£©¿ØÖÆ̨

 C#ºÍVBScript£¬ActionScript£¬C++·Ç³£ÏàËÆ£¡
ÏÈÔÚCSÖн¨Á¢Ò»¸ö¿ØÖÆ̨³ÌÐò£¬ÔÙ´ò¿ª“Program.cs”¡£
ÔÚ void_Main ÊäÈëÒÔÏ´úÂ룺
 
            //ÕâÊÇ×¢ÊÍ£¬×¢ÊͽöÔÚµ÷ÊÔʱÓÐÓÃ
            Console.WriteLine("");
            //×¢ÊÍ»¹¿ÉÒÔÔÚÒ»ÐдúÂëµÄĩβ
            Console.Write(" ÑÝʾ³ÌÐò£º");//ÒýºÅÄÚÊÇ×Ö·û´®
            Console.ForegroundColor = ConsoleColor.White;//Ö¸¶¨ÊôÐÔ
            Console.Write("°´ÈÎÒâ¼üÍ˳ö");
            //°´ÈÎÒâ¼ü¼ÌÐø
            Console.ForegroundColor = Console.BackgroundColor;
            Console.ReadKey();
            //ÿÐдúÂë½áÊøÒª¼Ó·ÖºÅ
 
»¹¿ÉÒÔ£º
            Console.Title = "Å£ÎÑ¿ØÖÆ̨";//¼ÓÔÚ¿ªÍ·ÊÔÊÔ
            Console.WriteLine(19*2+8);//ÈõçÄÔ×öËãÊõ
 
×¢£ºÇë×ÐϸÔĶÁÎÒµÄ×¢ÊÍ£¡
±¾´úÂëÔÚVCS2005ExprÖе÷ÊÔͨ¹ý¡£
תÔØÇë×¢Ã÷À´×ÔţͷСÎÑ£¡
 
µÚ2Õ£º
http://blog.csdn.net/niutouv/archive/2009/09/13/4549020.aspx
 


Ïà¹ØÎĵµ£º

Linux C ²Î¿¼ÊÖ²á Ö® »·¾³±äÁ¿Æª

getenv£¨È¡µÃ»·¾³±äÁ¿ÄÚÈÝ£©
Ïà¹Øº¯Êý putenv£¬setenv£¬unsetenv
±íÍ·Îļþ #include<stdlib.h>
¶¨Ò庯Êý char * getenv(const char *name);
º¯Êý˵Ã÷ getenv()ÓÃÀ´È¡µÃ²ÎÊýname»·¾³±äÁ¿µÄÄÚÈÝ¡£²ÎÊýnameΪ»·¾³±äÁ¿µÄÃû³Æ£¬Èç¹û¸Ã±äÁ¿´æÔÚÔò»á·µ»ØÖ¸Ïò¸ÃÄÚÈݵÄÖ¸Õë¡£»·¾³±äÁ¿µÄ¸ñʽΪname£½value¡£
·µ»ØÖµ Ö´Ðг ......

c:\windows\tempĿ¼ȨÏÞÉèÖÃ

˵Ã÷: ÔÚ±àÒëÏò¸ÃÇëÇóÌṩ·þÎñËùÐè×ÊÔ´µÄ¹ý³ÌÖгöÏÖ´íÎó¡£Çë¼ì²éÏÂÁÐÌض¨´íÎóÏêϸÐÅÏ¢²¢Êʵ±µØÐÞ¸ÄÔ´´úÂë¡£
±àÒëÆ÷´íÎóÐÅÏ¢: CS0016: δÄÜдÈëÊä³öÎļþ“c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5bad199f\ab65559a\App_Web_index.aspx.cdcab7d2.anxmasko.dll”--“ ......

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

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

CÓïÑÔʹÓÃÕýÔò±í´ïʽ£¨2£©

GNU/LinuxÓÐÁ½Ì׿â¿ÉÓÃÓÚÕýÔò±í´ïʽ±à³Ì£ºPOSIX¿âºÍPCRE¿â¡£Ç°Õß²»ÐèÒªµ¥¶À°²×°£¬Ò»°ãÐèÇó»¹ÊÇÄÜÂú×ãµÄ£¬ËÙ¶ÈÉÔÂýЩ¡£ºóÕßÊǾøºÊ¢ÃûµÄPerlÕýÔò±í´ïʽ¿â£¬¹¦ÄÜÇ¿´ó£¬Æ¥ÅäËٶȿ죬²»¹ý¿ÉÄÜÐèÒªµ¥¶À°²×°¡£
ÎÒÃÇÏÈÓÃÒ»¸öÀý×ÓÀ´½éÉÜÈçºÎʹÓÃPOSIX¿â¡£
££i nclude <stdio.h>
££i nclude <sys/ty ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ