// file2.cpp -- contains functions called in file1.cpp #include #include #include "coordin.h" // structure templates, functio…
polar 源代码
Polar由加拿大设计师AndrewGardner独立完成,主要部件是几个可拆卸的磁性金属块和一根笔芯。通过简单的组合,Polar可以实现多种玩法,如玩具一样,极为有趣。
// coordin.h -- structure templates and function prototypes // structure templates #ifndef COORDIN_H_ #define COORDIN_H_ str…
// strctfun.cpp -- functions with a structure argument #include #include // structure declarations struct polar { do…
// strctptr.cpp -- functions with pointer to structure arguments #include #include // structure templates struct polar { …
// file2.cpp -- contains functions called in file1.cpp #include #include #include "coordin.h" // structure templates, functio…
// coordin.h -- structure templates and function prototypes // structure templates #ifndef COORDIN_H_ #define COORDIN_H_ str…
// strctfun.cpp -- functions with a structure argument #include #include // structure declarations struct polar { do…
// strctptr.cpp -- functions with pointer to structure arguments #include #include // structure templates struct polar { …
// file2.cpp -- contains functions called in file1.cpp #include #include #include "coordin.h" // structure templates, functio…
// coordin.h -- structure templates and function prototypes // structure templates #ifndef COORDIN_H_ #define COORDIN_H_ str…