锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品无码久久综合,亚洲&amp;http://www.shnenglu.com/jince/category/14926.html鍘氬痙鑷磋繙錛屽崥瀛︽暒琛岋紒zh-cnThu, 16 Sep 2010 16:09:08 GMTThu, 16 Sep 2010 16:09:08 GMT60璁頒簨鏈慨鏀?/title><link>http://www.shnenglu.com/jince/archive/2010/09/15/126630.html</link><dc:creator>jince</dc:creator><author>jince</author><pubDate>Wed, 15 Sep 2010 01:17:00 GMT</pubDate><guid>http://www.shnenglu.com/jince/archive/2010/09/15/126630.html</guid><wfw:comment>http://www.shnenglu.com/jince/comments/126630.html</wfw:comment><comments>http://www.shnenglu.com/jince/archive/2010/09/15/126630.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/jince/comments/commentRss/126630.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/jince/services/trackbacks/126630.html</trackback:ping><description><![CDATA[     鎽樿:             宸ヤ綔鐨勬椂鍊欏啓鐨勪竴涓慨鏀硅浜嬫湰鐨勭▼搴忔銆傝褰曚笅浠g爜濡備笅錛?#include <windows.h>#include <stdio.h>#include <string.h>#include&...  <a href='http://www.shnenglu.com/jince/archive/2010/09/15/126630.html'>闃呰鍏ㄦ枃</a><img src ="http://www.shnenglu.com/jince/aggbug/126630.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/jince/" target="_blank">jince</a> 2010-09-15 09:17 <a href="http://www.shnenglu.com/jince/archive/2010/09/15/126630.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>min鍜宮ax澶存枃浠?/title><link>http://www.shnenglu.com/jince/archive/2010/09/14/126600.html</link><dc:creator>jince</dc:creator><author>jince</author><pubDate>Tue, 14 Sep 2010 07:59:00 GMT</pubDate><guid>http://www.shnenglu.com/jince/archive/2010/09/14/126600.html</guid><wfw:comment>http://www.shnenglu.com/jince/comments/126600.html</wfw:comment><comments>http://www.shnenglu.com/jince/archive/2010/09/14/126600.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/jince/comments/commentRss/126600.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/jince/services/trackbacks/126600.html</trackback:ping><description><![CDATA[            铏界劧璇存眰鏈澶у兼渶灝忓煎嚱鏁板湪鍝釜澶存枃浠朵笅騫朵笉鏄潪甯擱噸瑕侊紝浣嗘槸閬囧埌闂鐨勬椂鍊欐垜浠緢蹇殑鎵懼埌~~  MSDN涓婅鍦╝lgorithm涓嬶紝浣嗘槸鍑洪敊浜嗭紝鍏跺疄榪欎袱涓嚱鏁伴渶瑕佸寘鍚袱涓ご鏂囦歡<windows.h>鍜?lt;windef.h>鏂囦歡錛屽叾浠栫殑榪樻湁__min鍜宊_max闇瑕佸寘鍚?lt;stdlib.h>澶存枃浠躲傘?br><br> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #000000">#include </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">iostream</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top>#include </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">windows.h</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top>#include </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">stdio.h</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top>#include </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">windef.h</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff">using</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">namespace</span><span style="COLOR: #000000"> std;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top><br><img id=Codehighlighter1_114_529_Open_Image onclick="this.style.display='none'; Codehighlighter1_114_529_Open_Text.style.display='none'; Codehighlighter1_114_529_Closed_Image.style.display='inline'; Codehighlighter1_114_529_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_114_529_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_114_529_Closed_Text.style.display='none'; Codehighlighter1_114_529_Open_Image.style.display='inline'; Codehighlighter1_114_529_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> main () </span><span id=Codehighlighter1_114_529_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_114_529_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>  cout </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">max(1,2)==</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> max(</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">) </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> endl;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>  cout </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">max(2,1)==</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> max(</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">) </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> endl;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>  cout </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">max('a','z')==</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> max(</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">a</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">z</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">) </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> endl;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>  cout </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">max(3.14,2.72)==</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> max(</span><span style="COLOR: #000000">3.14</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">2.72</span><span style="COLOR: #000000">) </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> endl;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>  cout </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">max(1,2)==</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> __max(</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">) </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> endl;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>  cout </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">max(2,1)==</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> __max(</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">) </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> endl;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>  cout </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">max('a','z')==</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> __max(</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">a</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">z</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">) </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> endl;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>  cout </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">max(3.14,2.72)==</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> __max(</span><span style="COLOR: #000000">3.14</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">2.72</span><span style="COLOR: #000000">) </span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000"> endl;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>  </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</span></span></div> <br><br>榪愯緇撴灉濡備笅錛?br><img height=178 alt="" src="http://www.shnenglu.com/images/cppblog_com/jince/17.png" width=332 border=0> <img src ="http://www.shnenglu.com/jince/aggbug/126600.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/jince/" target="_blank">jince</a> 2010-09-14 15:59 <a href="http://www.shnenglu.com/jince/archive/2010/09/14/126600.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>JC1http://www.shnenglu.com/jince/archive/2010/09/14/126570.htmljincejinceTue, 14 Sep 2010 02:06:00 GMThttp://www.shnenglu.com/jince/archive/2010/09/14/126570.htmlhttp://www.shnenglu.com/jince/comments/126570.htmlhttp://www.shnenglu.com/jince/archive/2010/09/14/126570.html#Feedback0http://www.shnenglu.com/jince/comments/commentRss/126570.htmlhttp://www.shnenglu.com/jince/services/trackbacks/126570.html         浠g爜濡備笅錛?br>
#include<stdio.h>
#include
<time.h>
int main()
{
    time_t timep;
    time(
&timep);
    printf(
"%d\n",gmtime(&timep));
    printf(
"%s\n",asctime(gmtime(&timep)));
    printf(
"%s\n",ctime(&timep));
    
return 0;
}

         鏁版嵁瀛楄妭鏁拌緭鍑猴細
         浠g爜濡備笅錛?br>
#include<stdio.h>
int main()
{
    printf(
"char      %d\n",sizeof(char));
    printf(
"int       %d\n",sizeof(int));
    printf(
"short int %d\n",sizeof(short int));
    printf(
"long int  %d\n",sizeof(long int));
    printf(
"float     %d\n",sizeof(float));
    printf(
"double    %d\n",sizeof(double));
    
return 0;
}

         printf杈撳嚭鏍煎紡錛?br>         浠g爜濡備笅錛?br>
#include<cstdio>
int main()
{
    
//for int
    int i=30122121;
    
long i2=309095024;
    
short i3=30;
    unsigned i4
=2123453;
    printf(
"%d,%o,%x,%X,%ld,%hd,%u\n",i,i,i,i,i2,i3,i4);//濡傛灉鏄細%l,%h錛屽垯杈撲笉鍑虹粨鏋?nbsp;
    printf("%d,%ld\n",i,i2);//璇曢獙涓嶅嚭%ld鍜?d涔嬮棿鐨勫樊鍒紝鍥犱負long鏄?bytes
    printf("%hd,%hd\n\n\n",i,i3);//璇曢獙浜?hd鍜?d涔嬮棿鐨勫樊鍒紝鍥犱負short鏄?bytes

    
//for string and char
    char ch1='d';
    unsigned 
char ch2=160;
    
char *str="Hello everyone!";
    printf(
"%c,%u,%s\n\n\n",ch1,ch2,str);//unsigned char瓚呰繃128鐨勬病鏈夊瓧絎﹀搴?br>   
    
//for float and double,unsigned and signed can not be used with double and float
    float fl=2.566545445F;//or 2.566545445f
    double dl=265.5651445;
    
long double dl2=2.5654441454;

    
//%g娌℃湁e鏍煎紡錛岄粯璁?浣嶅寘鎷皬鏁扮偣鍓嶉潰鐨勬暟,
    
//%f娌℃湁e鏍煎紡錛岄粯璁?浣嶄粎鍙皬鏁扮偣鍚庨潰鍖呭惈6浣?br>    //%e閲囩敤e鏍煎紡錛岄粯璁?浣嶄負杞寲鍚庣殑灝忔暟鐐瑰悗闈㈢殑6浣?/span>
    printf("%f,%e,%g,%.7f\n",fl,dl,dl,dl);
    printf(
"%f,%E,%G,%f\n",fl,dl,dl,dl);//%F is wrong
    printf("%.8f,%.10e\n",fl,dl);
    printf(
"%.8e,%.10f\n\n\n",fl,dl);

    
//for point 
    int *iP=&i;
    
char *iP1=new char;
    
void *iP2;//dangerous!
    printf("%p,%p,%p\n\n\n",iP,iP1,iP2);
    
    
//鍏朵粬鐭ヨ瘑錛氳礋鍙鳳紝琛ㄧず宸﹀榻愶紙榛樿鏄彸瀵歸綈錛夛紱%6.3錛?琛ㄧず瀹藉害錛?琛ㄧず綺懼害
    char *s="Hello world!";
    printf(
":%s: \n:%10s: \n:%.10s: \n:%-10s: \n:%.15s: \n:%-15s: \n:%15.10s: \n:%-15.10s:\n\n\n",
        s,s,s,s,s,s,s,s);
    
double ddd=563.908556444;
    printf(
":%g: \n:%10g: \n:%.10g: \n:%-10g: \n:%.15g: \n:%-15g: \n:%15.10g: \n:%-15.10g:\n\n\n",
        ddd,ddd,ddd,ddd,ddd,ddd,ddd,ddd);

    
//榪樻湁涓涓壒孌婄殑鏍煎紡%*.* ,榪欎袱涓槦鍙風殑鍊煎垎鍒敱絎簩涓拰絎笁涓弬鏁扮殑鍊兼寚瀹?/span>
    printf("%.*s \n"8"abcdefgggggg");
    printf(
"%*.*f   \n"3,31.25456f);
    
return 0;
}



jince 2010-09-14 10:06 鍙戣〃璇勮
]]>
久久婷婷色综合一区二区| 品成人欧美大片久久国产欧美... 品成人欧美大片久久国产欧美 | 国产成人香蕉久久久久| 久久99精品久久久久久9蜜桃| 久久人做人爽一区二区三区 | 伊人久久大香线蕉成人| 色综合久久无码五十路人妻| A狠狠久久蜜臀婷色中文网| 久久久久久久综合日本| 久久久av波多野一区二区| 亚洲国产视频久久| 久久精品国产精品亚洲毛片 | 无码超乳爆乳中文字幕久久| 九九久久99综合一区二区| 久久狠狠爱亚洲综合影院| 久久96国产精品久久久| 亚洲国产成人精品久久久国产成人一区二区三区综 | a级毛片无码兔费真人久久| 亚洲精品无码久久千人斩| 久久无码国产| 国产日韩久久久精品影院首页 | 色综合久久88色综合天天 | 国产精品久久一区二区三区| 精品无码久久久久国产| 亚洲精品无码专区久久同性男| 久久精品亚洲欧美日韩久久| 无遮挡粉嫩小泬久久久久久久| 日韩va亚洲va欧美va久久| 久久国产香蕉视频| 国产成人无码精品久久久久免费| 精品久久久无码人妻中文字幕豆芽 | 久久99精品久久久久久| 久久久久亚洲精品无码蜜桃| 狠狠色丁香久久婷婷综合蜜芽五月| 久久夜色撩人精品国产| 久久精品九九亚洲精品天堂| 久久亚洲精品成人AV| 久久99中文字幕久久| 久久发布国产伦子伦精品| 精品久久久久久中文字幕人妻最新 | 亚洲精品tv久久久久|