代码搜索结果
找到约 10,000 项符合
9 的代码
9_9.h
//9-9.h
#include
#include
#include
#include
enum Boolean {False, True};
#include "9-8.h" // 包含栈类模板定义文件
class Calculator //计算器类
{
9-9.m
[X,map]=imread('canoe.tif');
[Y,newmap] = imapprox(X,map,20);
%图像进行退色处理
imshow(X,map)
figure,imshow(Y,newmap)
9_9.cpp
#include
#include
#include "9_9.h"
using namespace std;
// 类的实现部分
// 构造函数,初始化数据和指针成员
template
Node::Node(const T& item, Node* ptrnext) : data(item), next
9_9.h
//链表类的声明
//链表类的声明
#ifndef LINKEDLIST_CLASS
#define LINKEDLIST_CLASS
#ifndef NULL
const int NULL = 0;
#endif
template
class Node
{ Node *next; //next为指向后继结点的指针
public:
9_9.cpp
//9_9.cpp
#include
using namespace std;
int compare(char *x,char *y){ return (!strcmp(x,y));}
template
int compare(T x, T y){ return x==y;}
template class
9-9.m
[X,map]=imread('canoe.tif');
[Y,newmap] = imapprox(X,map,20);
%图像进行退色处理
imshow(X,map)
figure,imshow(Y,newmap)
9-9.txt
/* 范例:9-9 */
#include
enum
{
Mem1='A',Mem2,Mem3=3,Mem4=3,Mem5
}a,b;
void main(void)
{
a=Mem2;
b=Mem5;
printf(" a=%d b=%d\n",a,b);
printf(" Size of Mem1 = %d\n Size o
9-9.txt
/* 范例:9-9 */
#include
enum
{
Mem1='A',Mem2,Mem3=3,Mem4=3,Mem5
}a,b;
void main(void)
{
a=Mem2;
b=Mem5;
printf(" a=%d b=%d\n",a,b);
printf(" Size of Mem1 = %d\n Size o