代码搜索结果
找到约 10,000 项符合
4 的代码
4_4.cpp
#include
#include
class Point //Point类定义
{
public:
Point(int xx=0, int yy=0) {X=xx;Y=yy;}
Point(Point &p);
int GetX() {return X;}
int GetY() {return Y;}
private:
i
4-4.c
#include
void function()
{
static int a = 0;
int b = 0;
a++;
b++;
printf("a=%d,b=%d\n",a,b);
}
main()
{
function();
function();
function();
}
4_4.cpp
#include
void main()
{
for(int i=1; i
4_4.cpp
#include
using namespace std;
struct StructClass //用struct关键字定义StructClass类
{ void set_value(int n) {value=n; } //公有属性
void show_value(char *name) { cout
4_4.cpp
//4_4.cpp
#include
using namespace std;
class zrf_Ratio
{ public:
void assign(int, int);
double convert();
void invert();
void print();
private:
int num, d
4_4.dsp
# Microsoft Developer Studio Project File - Name="4_4" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Conso