代码搜索:pointers
找到约 4,056 项符合「pointers」的源代码
代码结果 4,056
www.eeworm.com/read/333254/12693362
cpp memb_pt.cpp
// memb_pt.cpp -- dereferencing pointers to class members
#include
using namespace std;
class Example
{
private:
int feet;
int inches;
public:
Example();
Example
www.eeworm.com/read/136959/13351624
hpp refcnt.hpp
//
// A little attempt to maintain a reference-counting generic class based
// on templates. The purpose is to allow the STL to contain inherited
// objects via pointers to the base class.
//
// Rele
www.eeworm.com/read/319883/13440532
cpp prog7_04.cpp
// Program 7.4 Using an array of pointers to char
#include
using std::cout;
using std::cin;
using std::endl;
int main() {
const char* pstars[] = {
"Mae
www.eeworm.com/read/312169/13616954
cpp passbyptr.cpp
//Listing 11.5 Demonstrates passing by reference
#include
void swap(int *x, int *y);
// the "*" says that the function expects to get pointers
int main()
{
int x = 5
www.eeworm.com/read/304851/13784948
c mulalloc.c
/* Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB
This file is public domain and comes with NO WARRANTY of any kind */
/* Malloc many pointers at the same time */
/*
www.eeworm.com/read/149876/5696374
c funcargs.c
/* Test passing of arguments to functions. Use various sorts of arguments,
including basic types, pointers to those types, structures, lots of
args, etc, in various combinations. */
/* AIX
www.eeworm.com/read/148694/5711811
c funcargs.c
/* Test passing of arguments to functions. Use various sorts of arguments,
including basic types, pointers to those types, structures, lots of
args, etc, in various combinations. */
/* AIX
www.eeworm.com/read/136812/5860492
h lego.h
/*
* Lego definitions, for use with real hardware.
*
* A good 'C' compiler optimizer should create code as if the source
* had used pointers, and constant expression optimization gets rid of
* t
www.eeworm.com/read/132069/5922935
h comptr.h
////////////////////////////////////////
//
// interface for a simple wrapper class for COM (ref counted) pointers.
//
#if !defined(COM_PTR_INC__)
#define COM_PTR_INC__
#if _MSC_VER >= 1000
www.eeworm.com/read/121089/6070064
inc help.inc
;
;* help.h
;*
;* typedefs & definitions used in the help system and by those who use it.
;*
;* define:
;* HOFFSET - to define buffer pointers (PB's) as handle/offset, else
;* they are def