锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品无码久久综合,亚洲&http://m.shnenglu.com/jince/category/14926.html鍘氬痙鑷磋繙錛屽崥瀛︽暒琛岋紒zh-cnThu, 16 Sep 2010 16:09:08 GMTThu, 16 Sep 2010 16:09:08 GMT60- 璁頒簨鏈慨鏀?/title>http://m.shnenglu.com/jince/archive/2010/09/15/126630.htmljincejinceWed, 15 Sep 2010 01:17:00 GMThttp://m.shnenglu.com/jince/archive/2010/09/15/126630.htmlhttp://m.shnenglu.com/jince/comments/126630.htmlhttp://m.shnenglu.com/jince/archive/2010/09/15/126630.html#Feedback0http://m.shnenglu.com/jince/comments/commentRss/126630.htmlhttp://m.shnenglu.com/jince/services/trackbacks/126630.html闃呰鍏ㄦ枃

]]> - min鍜宮ax澶存枃浠?/title>http://m.shnenglu.com/jince/archive/2010/09/14/126600.htmljincejinceTue, 14 Sep 2010 07:59:00 GMThttp://m.shnenglu.com/jince/archive/2010/09/14/126600.htmlhttp://m.shnenglu.com/jince/comments/126600.htmlhttp://m.shnenglu.com/jince/archive/2010/09/14/126600.html#Feedback0http://m.shnenglu.com/jince/comments/commentRss/126600.htmlhttp://m.shnenglu.com/jince/services/trackbacks/126600.html
#include <iostream>
#include <windows.h>
#include <stdio.h>
#include <windef.h>
using namespace std;


int main ()
{
cout << "max(1,2)==" << max(1,2) << endl;
cout << "max(2,1)==" << max(2,1) << endl;
cout << "max('a','z')==" << max('a','z') << endl;
cout << "max(3.14,2.72)==" << max(3.14,2.72) << endl;

cout << "max(1,2)==" << __max(1,2) << endl;
cout << "max(2,1)==" << __max(2,1) << endl;
cout << "max('a','z')==" << __max('a','z') << endl;
cout << "max(3.14,2.72)==" << __max(3.14,2.72) << endl;
return 0;
}
榪愯緇撴灉濡備笅錛?br>

]]> - JC1http://m.shnenglu.com/jince/archive/2010/09/14/126570.htmljincejinceTue, 14 Sep 2010 02:06:00 GMThttp://m.shnenglu.com/jince/archive/2010/09/14/126570.htmlhttp://m.shnenglu.com/jince/comments/126570.htmlhttp://m.shnenglu.com/jince/archive/2010/09/14/126570.html#Feedback0http://m.shnenglu.com/jince/comments/commentRss/126570.htmlhttp://m.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,3, 1.25456f);
return 0;
}

]]>
国产精品伊人久久伊人电影
|
97r久久精品国产99国产精|
狠狠色丁香久久婷婷综合图片|
久久天天婷婷五月俺也去
|
久久亚洲私人国产精品vA|
热re99久久精品国99热|
国产午夜精品久久久久九九|
久久久久久亚洲精品不卡|
色婷婷综合久久久中文字幕|
青青草原1769久久免费播放|
亚洲国产一成久久精品国产成人综合
|
久久777国产线看观看精品|
国产精品久久久久一区二区三区|
思思久久好好热精品国产|
久久99精品久久久久久久不卡|
99久久国产综合精品成人影院
|
99蜜桃臀久久久欧美精品网站|
国产欧美久久久精品|
久久久午夜精品福利内容|
99久久精品国产免看国产一区|
一本久久综合亚洲鲁鲁五月天亚洲欧美一区二区
|
色综合久久88色综合天天|
99久久香蕉国产线看观香|
91精品久久久久久无码|
成人免费网站久久久|
伊人久久大香线蕉av不卡|
伊人色综合九久久天天蜜桃|
久久电影网2021|
国产一级做a爰片久久毛片|
久久久久99这里有精品10
|
久久婷婷五月综合国产尤物app|
久久93精品国产91久久综合|
久久精品免费一区二区三区|
97精品伊人久久大香线蕉app|
中文字幕乱码久久午夜|
久久人妻少妇嫩草AV蜜桃|
亚洲国产成人久久一区久久|
久久久久一级精品亚洲国产成人综合AV区
|
99久久无码一区人妻|
91精品国产色综久久
|
精品久久无码中文字幕|