代码搜索:pointers
找到约 4,056 项符合「pointers」的源代码
代码结果 4,056
www.eeworm.com/read/456367/7350862
cpp sayings2.cpp
// sayings2.cpp -- using pointers to objects
// compile with string1.cpp
#include
#include // (or stdlib.h) for rand(), srand()
#include // (or time.h) for
www.eeworm.com/read/456367/7350986
cpp fun_ptr.cpp
// fun_ptr.cpp -- pointers to functions
#include
double betsy(int);
double pam(int);
// second argument is pointer to a type double function that
// takes a type int argument
void e
www.eeworm.com/read/452695/7436327
c program9_02.c
/* Program 9.2 Arrays of Pointers to functions */
#include
/* Function prototypes */
int sum(int, int);
int product(int, int);
int difference(int, int);
int main(void)
{
in
www.eeworm.com/read/448427/7533620
h rbt.h
/* Public API for Red-Black Trees table
Application must define types for key and data and suitable
rbt_compLT() and rbt_compEQ() comparison functions operating
on pointers to keys. Then it
www.eeworm.com/read/448427/7533639
h rbt.h
/* Public API for Red-Black Trees table
Application must define types for key and data and suitable
rbt_compLT() and rbt_compEQ() comparison functions operating
on pointers to keys. Then it
www.eeworm.com/read/435150/7796247
h sparsearray.h
// Exercise 17.4 SparseArray.h
// SparseArray class definition - stores pointers to strings
#ifndef SPARSEARRAY_H
#define SPARSEARRAY_H
#include
using std::string;
class SparseArray
www.eeworm.com/read/435150/7796560
cpp prog7_05.cpp
// Program 7.5 Sorting strings using pointers
#include
#include
using std::cout;
using std::cin;
using std::endl;
using std::string;
int main() {
string text;
www.eeworm.com/read/435150/7796566
cpp prog7_02.cpp
// Program 7.2 Exercising pointers
#include
using std::cout;
using std::endl;
int main() {
long* pnumber; // Pointer declaration
long number1 = 55L;
lo
www.eeworm.com/read/289562/7805592
c sysfile.c
#include "calld.h"
static FILE *fpsys = NULL;
static int syslineno; /* for error messages */
static char sysline[MAXLINE];
/* can't be automatic; sys_next() returns pointers into here */
/*
*
www.eeworm.com/read/289562/7805594
c dialfile.c
#include "calld.h"
static FILE *fpdial = NULL;
static int diallineno; /* for error messages */
static char dialline[MAXLINE];
/* can't be automatic; dial_next() returns pointers into here */
/*