代码搜索:Programs
找到约 10,000 项符合「Programs」的源代码
代码结果 10,000
www.eeworm.com/read/216463/15005999
h open.h
/* OPEN.H - Interface to routine for opening file that might be stdin/stdout. */
/* Copyright (c) 2001 by Radford M. Neal
*
* Permission is granted for anyone to copy, use, modify, or distribute t
www.eeworm.com/read/216463/15006001
c blockio.c
/* BLOCKIO.C - Routines to read/write blocks of bits from/to a text file. */
/* Copyright (c) 2000 by Radford M. Neal
*
* Permission is granted for anyone to copy, use, modify, or distribute this
www.eeworm.com/read/212047/15166926
texi intro.texi
@cindex license of GSL
@cindex GNU General Public License
The GNU Scientific Library (GSL) is a collection of routines for
numerical computing. The routines have been written from scratch in C,
and a
www.eeworm.com/read/210671/15193641
cpp fig04_06.cpp
// Fig. 4.6: fig04_06.cpp
// Using a properly initialized constant variable
#include
using std::cout;
using std::endl;
int main()
{
const int x = 7; // initialized constant v
www.eeworm.com/read/210671/15193643
cpp fig04_08.cpp
// Fig. 4.8: fig04_08.cpp
// Compute the sum of the elements of the array
#include
using std::cout;
using std::endl;
int main()
{
const int arraySize = 12;
int a[ arraySiz
www.eeworm.com/read/210671/15193644
cpp fig04_07.cpp
// Fig. 4.7: fig04_07.cpp
// A const object must be initialized
int main()
{
const int x; // Error: x must be initialized
x = 7; // Error: cannot modify a const variable
r
www.eeworm.com/read/210671/15193654
cpp fig03_19.cpp
// Fig. 3.19: fig03_19.cpp
// Using an inline function to calculate
// the volume of a cube.
#include
using std::cout;
using std::cin;
using std::endl;
inline double cube( const
www.eeworm.com/read/210671/15193664
cpp fig03_25.cpp
// Fig. 3.25: fig03_25.cpp
// Using overloaded functions
#include
using std::cout;
using std::endl;
int square( int x ) { return x * x; }
double square( double y ) { return y *
www.eeworm.com/read/210671/15193670
h array3.h
// Fig. 21.11: array3.h
// Simple class Array (for integers)
#ifndef ARRAY3_H
#define ARRAY3_H
#include
using std::ostream;
class Array {
friend ostream &operator
www.eeworm.com/read/210671/15193681
h array2.h
// Fig 21.10: array2.h
// Simple class Array (for integers)
#ifndef ARRAY2_H
#define ARRAY2_H
#include
using std::ostream;
class Array {
friend ostream &operator