代码搜索结果
找到约 10,000 项符合
5 的代码
chapter5_5.plg
Build Log
--------------------Configuration: Chapter5_5 - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\AD
bo5-5.cpp
// bo5-5.cpp 广义表的头尾链表存储(存储结构由c5-5.h定义)的基本操作(11个)
Status InitGList(GList &L)
{ // 创建空的广义表L
L=NULL;
return OK;
}
void DestroyGList(GList &L) // 广义表的头尾链表存储的销毁操作
{ // 销毁广义表L
GList
c5-5.h
// c5-5.h 广义表的头尾链表存储表示
enum ElemTag{ATOM,LIST}; // ATOM==0:原子,LIST==1:子表
typedef struct GLNode
{
ElemTag tag; // 公共部分,用于区分原子结点和表结点
union // 原子结点和表结点的联合部分
{
AtomType atom; // a
例5-5.m
>> clear;
>> x=0:pi/20:2*pi;
>> plot(x,sin(x));
>> text(pi,sin(pi),'\leftarrowsin(x)=0');
>> text(3*pi/4,sin(3*pi/4),'\leftarrowsin(x)=0.707');
>> text(0,-0.7,['画图时间:',date])
xt5-5.cpp
#include
using namespace std;
int main()
{ const int n=5;
int a[n],i,temp;
cout
c5-5.cpp
#include
using namespace std;
int main()
{ int i,j,row=0,colum=0,max;
int a[3][4]={{5,12,23,56},{19,28,37,46},{-12,-34,6,8}};
max=a[0][0];
for (i=0;i
ex5_5.java
//5.5(输出唯一的数)
import javax.swing.JOptionPane;
public class Ex5_5{
public static void main (String[] args) {
int numofdigit=0;
int[] digit=new int[10];
for(int i=0;i