代码搜索:ptr
找到约 10,000 项符合「ptr」的源代码
代码结果 10,000
www.eeworm.com/read/222743/14676716
cpp auto_ptr.cpp
//: C01:Auto_ptr.cpp
// From "Thinking in C++, Volume 2", by Bruce Eckel & Chuck Allison.
// (c) 1995-2004 MindView, Inc. All Rights Reserved.
// See source code use permissions stated in the file
www.eeworm.com/read/122349/14699084
h refcnt_ptr.h
// -*- c++ -*-
//
// $Id: refcnt_ptr.h,v 1.1.1.1 2000/07/12 21:51:46 jsiek Exp $
//
// Copyright 1997, 1998, 1999 University of Notre Dame.
// Authors: Andrew Lumsdaine, Jeremy G. Siek, Lie-Quan Lee
/
www.eeworm.com/read/121688/14743153
xbm left_ptr.xbm
#define left_ptr_width 20
#define left_ptr_height 20
#define left_ptr_x_hot 3
#define left_ptr_y_hot 1
static unsigned char left_ptr_bits[] = {
0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x18, 0x00, 0x00,
www.eeworm.com/read/120167/14811798
bmp varbmp_ptr.bmp
www.eeworm.com/read/120167/14811933
bmp varbmp_ptr.bmp
www.eeworm.com/read/120030/14813991
bmp varbmp_ptr.bmp
www.eeworm.com/read/119982/14814646
c ptr_upr.c
#include
#include
char *string_uppercase(char *string)
{
char *starting_address;
starting_address = string;
while (*string)
toupper(*string++);
re
www.eeworm.com/read/119982/14814648
c ptr_demo.c
#include
void main(void)
{
int counter = 10;
int *iptr; // Declare pointer value
iptr = &counter; // Assign the address
printf("Addres in iptr %x Value at
www.eeworm.com/read/119982/14814693
c str_ptr.c
#include
void show_string(char *string)
{
while (*string)
putchar(*string++);
}
void main(void)
{
show_string("Jamsa\'s C/C++ Programmer\'s Bible");
}
www.eeworm.com/read/119982/14814725
cpp over_ptr.cpp
#include
class sample {
public:
int i;
sample *operator->(void) {return this;}
};
void main(void)
{
sample obj;
obj->i = 10; // Same as obj.i
cout