代码搜索:array
找到约 10,000 项符合「array」的源代码
代码结果 10,000
www.eeworm.com/read/345930/11781703
h xt8-5.h
//xt8-5.h(arraymax.h)
class Array_max
{public:
void set_value();
void max_value();
void show_value();
private:
int array[10];
int max;
};
www.eeworm.com/read/155903/11839211
h xt8-5.h
//xt8-5.h(arraymax.h)
class Array_max
{public:
void set_value();
void max_value();
void show_value();
private:
int array[10];
int max;
};
www.eeworm.com/read/155903/11839679
txt 例8.4.txt
例8.4 找出一个整型数组中的元素的最大值。
这个问题可以不用类的方法来解决,现在用类来处理,读者可以比较不同方法的特点。
#include
using namespace std;
class Array_max //声明类
{public: //以下3行为成员函数原型声明
voi
www.eeworm.com/read/258816/11841103
cpp p4-196.cpp
#include
#include
#include
#define ARRAY_SIZE 10
using namespace std;
//利用类模板生成实例
typedef vector < int > IntArray;
//显示数组
void put_array(int x[],int size) {
www.eeworm.com/read/258816/11841156
cpp p4-199.cpp
#include
#include
#include
#include
#define ARRAY_SIZE 15
using namespace std;
//定义整型数的vector容器类
typedef vector IntVector ;
//显示数组
void pu
www.eeworm.com/read/258816/11841170
cpp p4-200.cpp
#include
#include
#include
#include
#define ARRAY_SIZE 15
using namespace std;
//显示数组
void put_array(int x[],int size) {
for(int i=0;i
www.eeworm.com/read/342910/11991711
h deblock_kc.h
// -------------------------------------------------------------------
// ?2005 Stream Processors, Inc. All rights reserved.
// This Software is the property of Stream Processors, Inc. (SPI) and
// i
www.eeworm.com/read/342906/11991827
h deblock_kc.h
// -------------------------------------------------------------------
// ?2005 Stream Processors, Inc. All rights reserved.
// This Software is the property of Stream Processors, Inc. (SPI) and
// i
www.eeworm.com/read/153241/12049774
java jshellclassloader.java
// JShell
// Copyright (C) 2000 Jack A. Orenstein
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
// published by
www.eeworm.com/read/149609/12362774
c mexgetarray.c
/*=================================================================
* mexgetarray.c
*
* This example demonstrates how to use mexGetArray, mexPutArray, and
* mexFunctionName. This function tak