代码搜索:ptr
找到约 10,000 项符合「ptr」的源代码
代码结果 10,000
www.eeworm.com/read/317961/13492866
hpp copy_ptr.hpp
#ifndef copy_ptr_H_HEADER_GUARD_
#define copy_ptr_H_HEADER_GUARD_
/*
// copy_ptr class by David Maisonave (Axter) and Kai-Uwe Bux
// Copyright (C) 2005
// David Maisonave (Axter) (609-345-1007)
www.eeworm.com/read/317961/13492867
hpp cow_ptr.hpp
#ifndef cow_ptr_H_HEADER_GUARD_
#define cow_ptr_H_HEADER_GUARD_
/*
// cow_ptr class by David Maisonave (Axter)
// Copyright (C) 2005
// David Maisonave (Axter) (609-345-1007) (www.axter.com)
/
www.eeworm.com/read/316923/13514341
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/316923/13514348
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/316923/13514368
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/316923/13514480
c ptr_out.c
#include
void main ()
{
int value;
printf("The address of the variable value is %p\n",
&value);
}
www.eeworm.com/read/316923/13514570
c env_ptr.c
#include
void main (int argc, char **argv, char **env)
{
while (*env)
printf("%s\n", *env++);
}
www.eeworm.com/read/316923/13514572
c argv_ptr.c
#include
void main (int argc, char **argv)
{
while (*argv)
printf ("%s\n", *argv++);
}
www.eeworm.com/read/315699/13537917
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/315699/13537948
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 (*