代码搜索:float
找到约 10,000 项符合「float」的源代码
代码结果 10,000
www.eeworm.com/read/279909/10378031
txt 例14.3.txt
例14.3 求3个数中最大的数(分别考虑整数、实数、长整数的情况)。
#include
int max(int a, int b, int c) //求3个整数中的最大者
{ if (b>a) a=b;
if (c>a) a=c;
return a; }
float max(float a,float b, float c) //求3个实数中
www.eeworm.com/read/279904/10379401
cpp floatcolor.cpp
/////////////////////////////////////////////////////////////////////////////////
//
// FloatColor.cpp: implementation of the CFloatColor class.
#include "stdafx.h"
#include "FloatColor.h"
/
www.eeworm.com/read/161731/10382309
h gasdev.h
/* Random number generator */
/* Copyright Numerical Recipes in C */
float gasdev(long *idum);
/* End copyright Numerical Recipes in C */
www.eeworm.com/read/161731/10382423
h gasdev.h
/* Random number generator */
/* Copyright Numerical Recipes in C */
float gasdev(long *idum);
/* End copyright Numerical Recipes in C */
www.eeworm.com/read/354109/10388931
h graph4.h
//图类结构体定义与相关操作graph4.h
typedef struct
{char *data;
int *visited;
float **edge;
int max,size;
}Graph;
//初始化图
void SetGraph(Graph *G,int n)
{int i,j;
G->data=new char[n];
G->visited=new
www.eeworm.com/read/161587/10393923
cpp time2.cpp
// worst case insertion sort times
// correct way
#include
#include
#include "insort.h"
void main(void)
{
int a[1000], n, i, step = 10;
long counter;
float
www.eeworm.com/read/424917/10394122
c observation.c
/*
Functions for the observation model in a particle filter football player
tracker
@author Rob Hess
@version 1.0.0-20060306
*/
#include "defs.h"
#include "utils.h"
#include "observation.h"
www.eeworm.com/read/161587/10394282
cpp time3.cpp
// overhead time for insertion sort timing
#include
#include
#include "insort.h"
void main(void)
{
int a[1000], n, i, step = 10;
long counter;
float second
www.eeworm.com/read/161587/10394670
cpp time4.cpp
// bad way to time insertion sort
#include
#include
#include "insort.h"
void main(void)
{
int a[1000], n, i, step = 10;
long counter;
float seconds;
cloc
www.eeworm.com/read/279733/10396305
cpp barnes.cpp
#include "stdafx.h"
#include
#include
#include
#include
#include
#include
using namespace std;
#define NoOfBody
#ifdef NoOfBody
#d