資源簡介
C語言的指針使用與結構體的使用,很多公司筆試題目也包含在里面
代碼片段和文件信息
//?PointTest.cpp?:?定義控制臺應用程序的入口點。
//
#include?“stdafx.h“
#include?
#include?
//#include?
//#include?
#include?
//////////////////////////////////////////////
int?func1(int?nprama)
{
nprama?=?1;
return?nprama;
}
//////////////////////////////////////////////////
int?func2(int*?nprama)
{
*nprama?=?2;
return?*nprama;
}
///////////////////////////////////////////////////
struct?PRAMA?
{
int?cx;
int?cy;
};
//////////////////////////////////////////////////
void?func3(PRAMA*?sPrama)
{
sPrama->cx?=?1;
sPrama->cy?=?2;
}
/////////////////////////////////////////////////
struct?IMAGEDATA?
{
char?byte[10];
};
/////////////////////////////////////////////////
void?func4(IMAGEDATA*?ImageD
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????6510??2009-11-25?09:55??PointTest\PointTest\Debug\BuildLog.htm
?????文件?????????67??2009-11-25?09:55??PointTest\PointTest\Debug\mt.dep
?????文件????????663??2009-05-20?17:06??PointTest\PointTest\Debug\PointTest.exe.em
?????文件????????728??2009-05-20?17:06??PointTest\PointTest\Debug\PointTest.exe.em
?????文件????????621??2009-11-25?09:55??PointTest\PointTest\Debug\PointTest.exe.intermediate.manifest
?????文件??????36654??2009-11-25?09:55??PointTest\PointTest\Debug\PointTest.obj
?????文件????3211264??2009-11-04?09:47??PointTest\PointTest\Debug\PointTest.pch
?????文件??????11905??2009-11-04?09:47??PointTest\PointTest\Debug\stdafx.obj
?????文件?????183296??2009-11-25?09:55??PointTest\PointTest\Debug\vc90.idb
?????文件?????274432??2009-11-25?09:55??PointTest\PointTest\Debug\vc90.pdb
?????文件???????3813??2009-11-25?09:55??PointTest\PointTest\PointTest.cpp
?????文件???????4504??2009-04-22?12:02??PointTest\PointTest\PointTest.vcproj
?????文件???????1427??2009-11-25?10:29??PointTest\PointTest\PointTest.vcproj.PC-200807311106.Administrator.user
?????文件???????1195??2009-04-22?12:02??PointTest\PointTest\ReadMe.txt
?????文件????????214??2009-04-22?12:02??PointTest\PointTest\stdafx.cpp
?????文件????????256??2009-05-19?17:10??PointTest\PointTest\stdafx.h
?????文件????????498??2009-04-22?12:02??PointTest\PointTest\targetver.h
?????文件????2026496??2009-11-25?10:29??PointTest\PointTest.ncb
?????文件????????893??2009-04-22?12:02??PointTest\PointTest.sln
????..A..H.?????35840??2009-11-25?10:29??PointTest\PointTest.suo
?????目錄??????????0??2009-11-25?09:55??PointTest\PointTest\Debug
?????目錄??????????0??2009-11-25?09:55??PointTest\PointTest
?????目錄??????????0??2009-11-25?10:30??PointTest
-----------?---------??----------?-----??----
??????????????5801276????????????????????23
- 上一篇:ANSYS技巧與命令大全含代碼
- 下一篇:算法分析之 0_1背包問題回溯法
評論
共有 條評論