锘??xml version="1.0" encoding="utf-8" standalone="yes"?>99精品视频免费观看视频,亚洲永久在线,亚洲欧美日韩一区二区三区在线观看
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>http://www.shnenglu.com/jince/archive/2010/09/15/126630.htmljincejinceWed, 15 Sep 2010 01:17:00 GMThttp://www.shnenglu.com/jince/archive/2010/09/15/126630.htmlhttp://www.shnenglu.com/jince/comments/126630.htmlhttp://www.shnenglu.com/jince/archive/2010/09/15/126630.html#Feedback0http://www.shnenglu.com/jince/comments/commentRss/126630.htmlhttp://www.shnenglu.com/jince/services/trackbacks/126630.html闃呰鍏ㄦ枃

]]> - min鍜宮ax澶存枃浠?/title>http://www.shnenglu.com/jince/archive/2010/09/14/126600.htmljincejinceTue, 14 Sep 2010 07:59:00 GMThttp://www.shnenglu.com/jince/archive/2010/09/14/126600.htmlhttp://www.shnenglu.com/jince/comments/126600.htmlhttp://www.shnenglu.com/jince/archive/2010/09/14/126600.html#Feedback0http://www.shnenglu.com/jince/comments/commentRss/126600.htmlhttp://www.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://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,3, 1.25456f);
return 0;
}

]]>
人人妻久久人人澡人人爽人人精品
|
色综合合久久天天给综看|
久久精品欧美日韩精品|
日韩一区二区三区视频久久|
久久国产精品波多野结衣AV|
无码人妻少妇久久中文字幕
|
久久精品成人|
精品久久久久久无码不卡|
国产午夜福利精品久久2021|
国产精品欧美亚洲韩国日本久久
|
久久亚洲AV成人出白浆无码国产|
国产精品无码久久久久久|
欧美日韩中文字幕久久久不卡|
亚洲午夜久久久影院|
久久国产热这里只有精品|
.精品久久久麻豆国产精品|
免费无码国产欧美久久18|
久久精品二区|
国产99久久久国产精品~~牛|
亚洲AV日韩精品久久久久
|
77777亚洲午夜久久多喷|
丰满少妇人妻久久久久久4|
日本精品久久久中文字幕|
热re99久久6国产精品免费|
久久无码专区国产精品发布|
久久精品国产精品亚洲艾草网美妙|
97久久超碰国产精品旧版|
亚洲国产精品无码久久98|
国产香蕉久久精品综合网|
伊人久久五月天|
区久久AAA片69亚洲|
久久精品一本到99热免费|
久久笫一福利免费导航|
久久久久久国产a免费观看黄色大片
|
国产2021久久精品|
国内精品久久久久影院网站
|
亚洲狠狠久久综合一区77777|
久久精品国产亚洲AV麻豆网站|
精品人妻伦九区久久AAA片69|
狠狠色丁香久久婷婷综合图片
|
欧美激情精品久久久久久|