代码搜索:ptr
找到约 10,000 项符合「ptr」的源代码
代码结果 10,000
www.eeworm.com/read/273217/10922602
h shared_ptr.h
#ifndef SHARED_PTR_H_
#define SHARED_PTR_H_
#ifndef NULL
#define NULL 0
#endif
namespace util
{
template
class shared_ptr;
template
class shared_data
{
www.eeworm.com/read/272513/10955039
h refcnt_ptr.h
// -*- c++ -*-
//
// $Id: refcnt_ptr.h,v 1.2 2001/11/19 15:07:09 llee Exp $
//
// Copyright 1997, 1998, 1999 University of Notre Dame.
// Authors: Andrew Lumsdaine, Jeremy G. Siek, Lie-Quan Lee
//
//
www.eeworm.com/read/417462/10988641
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/417462/10988655
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/417462/10988693
c str_ptr.c
#include
void show_string(char *string)
{
while (*string)
putchar(*string++);
}
void main(void)
{
show_string("Jamsa's 1001 C/C++ Tips");
}
www.eeworm.com/read/417462/10988901
c ptr_out.c
#include
void main ()
{
int value;
printf("The address of the variable value is %p\n",
&value);
}
www.eeworm.com/read/417462/10989096
c env_ptr.c
#include
void main (int argc, char **argv, char **env)
{
while (*env)
printf("%s\n", *env++);
}
www.eeworm.com/read/417462/10989100
c argv_ptr.c
#include
void main (int argc, char **argv)
{
while (*argv)
printf ("%s\n", *argv++);
}
www.eeworm.com/read/416714/11016882
cpp auto_ptr.cpp
#include "stlexam.h"
#pragma hdrstop
/**************************************************************************
*
* auto_ptr.cpp - Example program of auto_ptr. See Class Reference Section
*
*
www.eeworm.com/read/470800/6908452
cpp init_ptr.cpp
// init_ptr.cpp -- initialize a pointer
#include
int main()
{
using namespace std;
int higgens = 5;
int * pt = &higgens;
cout