代码搜索结果
找到约 10,000 项符合
1 的代码
xt7-1-1.cpp
#include
using namespace std;
struct
{ int year;
int month;
int day;
}date;
int main()
{int days;
coutdate.year>>date.month>>d
c1-3-1.cpp
#include
using namespace std;
int max(int x,int y)
{ int z;
if(x>y) z=x;
else z=y;
return(z);
}
int main()
{ int a,b,m;
cin>>a>>b;
m=max(a,b);
cout
c12-1-1.cpp
#include
using namespace std;
//声明类Point
class Point
{public:
Point(float=0,float=0);
void setPoint(float,float);
float getX() const {return x;}
float getY() const {return y
c14-1-1.cpp
#include
#include
using namespace std;
int main()
{double triangle(double,double,double);
double a,b,c;
cin>>a>>b>>c;
while(a>0 && b>0 && c>0)
{cout
c9-1-1.cpp
#include
using namespace std;
class Time
{public:
Time()
{hour=0;
minute=0;
sec=0;
}
void set_time();
void show_time();
private:
int hour;
int
ex4_1_1.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
ex4_1_1.dsp
# Microsoft Developer Studio Project File - Name="Ex4_1_1" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) C