資源簡介
C++實戰源碼-利用指針表達式操作遍歷數組(入門級實例092).zip
代碼片段和文件信息
//?expression.cpp?:?Defines?the?entry?point?for?the?console?application.
//
#include?“stdafx.h“
#include?“iostream.h“
int?main(int?argc?char*?argv[])
{
int?mm[]?=?{985642356898};
int?*p?=?&mm[0];
for?(int?i?=?0;i<6;i++)
cout?<*(p+i)?<‘\n‘;
return?0;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????286??2010-07-17?13:16??ex
?????文件????????4584??2010-07-17?11:23??ex
?????文件?????????545??2010-07-17?11:23??ex
?????文件?????????297??2010-07-17?11:23??ex
?????文件?????????769??2010-07-17?11:23??ex
- 上一篇:C++實戰源碼-輸出問候語
- 下一篇:C++實戰源碼-遍歷數組
評論
共有 條評論