代码搜索结果
找到约 10,000 项符合
9 的代码
ch9.htm
Chapter 9 -- Handling User Input with Java
2_9.cpp
#include
void main()
{
int x,j=0;
do
{
coutx;
if ((x%3==0) && (x%5==0) && (x%7==0))
cout
9_79.cpp
#include
#include
class Person
{
public:
Person(const char*n,const char*t,const char*a)
{
name=new char[strlen(n)+1];
strcpy(name,n);
tel=new char[strlen(t)+1];
9_76.cpp
#include
#include
#define Max 20
class Destination
{
protected:
char from[Max];
char to[Max];
public:
Destination()
{
strcpy(from,"");strcpy(to,"");
}
Destin
9_78.cpp
#include
#include
#define Max 20
class English
{
int ptr;
int score[Max];
public:
void getdata(int val,int ptr) {score[ptr]=val;}
int disp(int ptr){return score[ptr
9_77.cpp
#include
#include
class employee
{
protected:
int no;
char *name;
float salary;
static int totalno;
public:
employee()
{
char temname[20];
cout
9_80.cpp
#include
#include
class father
{
protected:
char* fname;
char* sname;
int age;
public:
father()
{cout