代码搜索:average
找到约 5,196 项符合「average」的源代码
代码结果 5,196
www.eeworm.com/read/155903/11839328
txt 例9.11.txt
例9.11 静态成员函数的应用。
#include
using namespace std;
class Student //定义Student类
{public:
Student(int n,int a,float s):num(n),age(a),score(s){ } //定义构造函数
void total( )
www.eeworm.com/read/155763/11849806
cpp save_student.cpp
//将记录保存到文件中
#include"head.h"
void save_student(student *p)
{
FILE *fp;
student * head=p;
struct person std;
fp=fopen("student.dat","wb");
while(head!=NULL)
{
www.eeworm.com/read/155763/11849811
cpp ouput.cpp
//打印所有学生档案
#include"head.h"
void ouput(struct student *p)
{
int i=0, j=0;
struct student *pp=NULL;
if(p==NULL)
{
printf("无记录!");
}
else
{
system("
www.eeworm.com/read/155763/11849826
cpp open.cpp
//打开文件
#include"head.h"
struct student * open(void)
{
FILE *fp;
student *p, *head, *q;
person std;
head =(student *)malloc(sizeof(student));
q=head=NULL;
fp=fopen(
www.eeworm.com/read/344240/11892873
java halfdollars.java
class HalfDollars {
public static void main(String[] arguments) {
int[] denver = { 15000006, 18810000, 20752110 };
int[] philadelphia = new int[denver.length];
int[] to
www.eeworm.com/read/344156/11906130
runvalid
#!/bin/sh
PREFIX=../src
echo ""
echo "These results represent actual drive validation experiments"
echo ""
echo "QUANTUM_QM39100TD-SW (rms should be about 0.378)"
${PREFIX}/disksim atlas_III.parv a
www.eeworm.com/read/344156/11906141
memsvalid
#!/bin/sh
echo ""
echo "G1 MEMS Device - synthetic workload (avg. resp. should be about 2.00 ms)"
../src/disksim mems.g1.parv mems.g1.nospring.outv ascii 0 1 mems0 "Spring constant factor" 0.00
grep
www.eeworm.com/read/154628/11942504
cpp ch16_1.cpp
//**********************
//** ch16_1.cpp **
//**********************
#include
#include
class Advisor{
int noOfMeeting;
};
class Student{
public:
Student
www.eeworm.com/read/256481/11996934
cpp chapter11-5.cpp
//文件名:CHAPTER11-5.cpp
#include
#include
#include
// The function object multiplies an element by a Factor
template
class MultValue
{
private:
T
www.eeworm.com/read/256463/11998614
java listing 11-78.java
private void DownRow ( ResultSet DisplayResults )
throws SQLException
{
long Orders;
long Average;
long Sum;
Orders = DisplayResults.getLong ( 1 ) ;
Average = DisplayResults.getL