代码搜索:pointers
找到约 4,056 项符合「pointers」的源代码
代码结果 4,056
www.eeworm.com/read/346994/11706183
c typecast.c
/* Using type void pointers. */
#include
void half(void *pval, char type);
int main( void )
{
/* Initialize one variable of each type. */
int i = 20;
long l = 1000
www.eeworm.com/read/345059/11842173
h display.h
#ifndef _DISPLAY_H
#define _DISPLAY_H
#ifndef _STDIO_H
#include
#endif
#define MAXARGS 5
struct display {
unsigned cookie; /* Magic cookie to detect bogus pointers */
#define
www.eeworm.com/read/155858/11843014
cpp 4elist1507.cpp
// Listing 15.7
//demonstrates use of an array of pointers to functions
#include
using namespace std;
void Square (int&,int&);
void Cube (int&, int&);
void Swap (int&, int &);
v
www.eeworm.com/read/153678/12012979
h purge.h
//: :purge.h
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 1999
// Copyright notice in Copyright.txt
// Delete pointers in an STL sequence
www.eeworm.com/read/253866/12181314
cpp list1507.cpp
// Listing 15.7
//demonstrates use of an array of pointers to functions
#include
using namespace std;
void Square(int&,int&);
void Cube(int&, int&);
void Swap(int&, int &);
void
www.eeworm.com/read/149908/12334259
h display.h
#ifndef _DISPLAY_H
#define _DISPLAY_H
#ifndef _STDIO_H
#include
#endif
#define MAXARGS 5
struct display {
unsigned cookie; /* Magic cookie to detect bogus pointers */
#define
www.eeworm.com/read/230899/14269921
h display.h
#ifndef _DISPLAY_H
#define _DISPLAY_H
#ifndef _STDIO_H
#include
#endif
#define MAXARGS 5
struct display {
unsigned cookie; /* Magic cookie to detect bogus pointers */
#define
www.eeworm.com/read/225725/14521770
htm ei30.htm
Effective C++, 2E | Item 30: Avoid member functions that return non-const pointers or references to members less accessible than themselves Back to Item 29: Avoid returning "handles" to internal data
www.eeworm.com/read/124628/14556350
h display.h
#ifndef _DISPLAY_H
#define _DISPLAY_H
#ifndef _STDIO_H
#include
#endif
#define MAXARGS 5
struct display {
unsigned cookie; /* Magic cookie to detect bogus pointers */
#define
www.eeworm.com/read/124417/14568883
h display.h
#ifndef _DISPLAY_H
#define _DISPLAY_H
#ifndef _STDIO_H
#include
#endif
#define MAXARGS 5
struct display {
unsigned cookie; /* Magic cookie to detect bogus pointers */
#define