锘??xml version="1.0" encoding="utf-8" standalone="yes"?>99精品视频免费观看视频,亚洲永久在线,亚洲欧美日韩一区二区三区在线观看
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;
}

]]>
婷婷久久综合九色综合98|
97精品伊人久久久大香线蕉|
久久中文字幕人妻丝袜|
久久久久国产精品人妻|
久久国产精品99久久久久久老狼|
99久久99久久精品国产片|
亚洲国产精品狼友中文久久久|
香蕉久久夜色精品国产2020|
久久亚洲精品国产精品|
久久国产香蕉一区精品|
久久SE精品一区二区|
国产亚州精品女人久久久久久
|
精品综合久久久久久97超人
|
品成人欧美大片久久国产欧美|
久久影视综合亚洲|
996久久国产精品线观看|
亚洲欧美一级久久精品|
91久久精品电影|
国产成年无码久久久久毛片|
香蕉99久久国产综合精品宅男自
|
看全色黄大色大片免费久久久|
久久久久亚洲AV成人片|
久久久久久免费视频|
91精品国产色综久久|
99国产欧美久久久精品蜜芽
|
九九精品99久久久香蕉|
开心久久婷婷综合中文字幕|
国产—久久香蕉国产线看观看
|
亚洲国产一成人久久精品|
久久人人爽人人爽AV片|
国产L精品国产亚洲区久久|
99久久精品日本一区二区免费|
国产偷久久久精品专区
|
精品国产青草久久久久福利|
国产精品天天影视久久综合网|
99久久中文字幕|
国产99精品久久|
99久久精品国产综合一区|
狠狠色伊人久久精品综合网|
精品久久久久久无码免费|
精品久久人人妻人人做精品|