91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 0.18M
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2021-02-21
  • 語言: C/C++
  • 標(biāo)簽:

資源簡(jiǎn)介

C++實(shí)戰(zhàn)源碼-實(shí)現(xiàn)輸入月份號(hào)輸出該月份英文名(入門級(jí)實(shí)例112).zip

資源截圖

代碼片段和文件信息

//?Month.cpp?:?Defines?the?entry?point?for?the?console?application.
//

#include?“stdafx.h“
#include?“stdio.h“
int?main()
{
?char?*Month[]={ //定義字符串?dāng)?shù)組
?? “January“
? “February“
? “March“
? “April“
? “May“
? “June“
? “July“
? “August“
? “September“
? “October“
? “November“
? “December“
? };
? int?i;
? char?**p; //聲明指向指針的指針變量
? p=Month; //將數(shù)組首地址值賦給指針變量
? printf(“請(qǐng)輸入一個(gè)月份\n“);
? scanf(“%d“&i); //輸入要顯示的月份號(hào)
? printf(“當(dāng)前月是:“);
? printf(“%s\n“*(p+i-1)); //使用指向指針的指針輸出對(duì)應(yīng)的字符串?dāng)?shù)組中字符串
? return?0;
}



?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件?????????631??2010-12-04?13:19??Month\Month.cpp
?????文件????????4524??2010-10-20?10:11??Month\Month.dsp
?????文件?????????535??2010-10-20?10:11??Month\Month.dsw
?????文件???????50176??2010-12-04?13:20??Month\Month.ncb
?????文件???????48640??2010-12-04?13:20??Month\Month.opt
?????文件????????1766??2010-12-04?13:19??Month\Month.plg
?????文件????????1202??2010-10-20?10:11??Month\ReadMe.txt
?????文件?????????292??2010-10-20?10:11??Month\StdAfx.cpp
?????文件?????????769??2010-10-20?10:11??Month\StdAfx.h
?????文件??????163928??2010-12-04?13:19??Month\Debug\Month.exe
?????文件??????173184??2010-12-04?13:19??Month\Debug\Month.ilk
?????文件????????5054??2010-12-04?13:19??Month\Debug\Month.obj
?????文件??????203916??2010-12-04?13:19??Month\Debug\Month.pch
?????文件??????345088??2010-12-04?13:19??Month\Debug\Month.pdb
?????文件????????2344??2010-12-04?13:19??Month\Debug\StdAfx.obj
?????文件???????33792??2010-12-04?13:19??Month\Debug\vc60.idb
?????文件???????53248??2010-12-04?13:19??Month\Debug\vc60.pdb

評(píng)論

共有 條評(píng)論

相關(guān)資源