代码搜索:ptr
找到约 10,000 项符合「ptr」的源代码
代码结果 10,000
www.eeworm.com/read/482889/1285369
hpp visitor_ptr.hpp
//-----------------------------------------------------------------------------
// boost variant/visitor_ptr.hpp header file
// See http://www.boost.org for updates, documentation, and revision hist
www.eeworm.com/read/479931/1328345
c ptr-typedef.c
/* This testcase is part of GDB, the GNU debugger.
Copyright 2005, 2007, 2008 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under th
www.eeworm.com/read/479931/1328392
exp ptr-typedef.exp
# Copyright 2005, 2007, 2008 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published
www.eeworm.com/read/479931/1328865
exp member-ptr.exp
# Copyright 1998, 1999, 2003, 2004, 2006, 2007, 2008
# Free Software Foundation, Inc.
# This file is part of the gdb testsuite
# This program is free software; you can redistribute it and/or modify
www.eeworm.com/read/479931/1328912
cc member-ptr.cc
/* This testcase is part of GDB, the GNU debugger.
Copyright 1998, 1999, 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or mod
www.eeworm.com/read/475965/1374224
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/475965/1374255
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/470720/1445098
c ptr1.c
// Bug: catching pointers by reference doesn't work right.
extern "C" int printf (const char *, ...);
struct E {
int x;
E(int i) { x = i; };
};
int main()
{
try {
E *p = new E(5);
thr
www.eeworm.com/read/470720/1445775
c auto_ptr.c
template struct auto_ptr_ref {
Y* py;
auto_ptr_ref(Y* p) : py(p) {}
};
template struct auto_ptr {
X* px;
public:
typedef X element_type;
explicit auto_ptr(X* p
www.eeworm.com/read/470693/1457044
c ptr1.c
// Bug: catching pointers by reference doesn't work right.
extern "C" int printf (const char *, ...);
struct E {
int x;
E(int i) { x = i; };
};
int main()
{
try {
E *p = new E(5);
thr