代码搜索:ptr
找到约 10,000 项符合「ptr」的源代码
代码结果 10,000
www.eeworm.com/read/320159/13432121
cpp plain-ptr.cpp
#include
using std::ostream; using std::cout; using std::endl;
#include
// class that has a pointer member that behaves like a plain pointer
class HasPtr {
public:
frie
www.eeworm.com/read/320159/13432124
cpp value-ptr.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that
www.eeworm.com/read/320159/13432128
cpp smart-ptr.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that
www.eeworm.com/read/320159/13432129
cpp plain-ptr.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that
www.eeworm.com/read/319472/13451257
c ptr_ops.c
// ptr_ops.c -- pointer operations
#include
int main(void)
{
int urn[5] = {100,200,300,400,500};
int * ptr1, * ptr2, *ptr3;
ptr1 = urn; // assign an address to a
www.eeworm.com/read/319472/13451288
c func_ptr.c
// func_ptr.c -- uses function pointers
#include
#include
#include
char showmenu(void);
void eatline(void); // read through end of line
void show(void (*
www.eeworm.com/read/318880/13467999
cur cursor_ptr.cur
www.eeworm.com/read/317961/13492862
hpp smart_ptr.hpp
#ifndef smart_ptr_HPP_HEADER_GUARD_
#define smart_ptr_HPP_HEADER_GUARD_
/*
For more details, which include example usage, full introduction, parameters, and tutorial,
see following link:
http://a
www.eeworm.com/read/317961/13492863
hpp clone_ptr.hpp
#ifndef clone_ptr_H_HEADER_GUARD_
#define clone_ptr_H_HEADER_GUARD_
/*
// clone_ptr class by David Maisonave (Axter)
// Copyright (C) 2005
// David Maisonave (Axter) (609-345-1007) (www.axter.c
www.eeworm.com/read/317961/13492865
hpp sync_ptr.hpp
// sync_ptr.h
#ifndef SYNC_PTR_H_BY_DAVID_MAISONAVE_HEADER_GUARD_
#define SYNC_PTR_H_BY_DAVID_MAISONAVE_HEADER_GUARD_
#include
#include "sync_ctrl.h" //download at http://code.axter