代码搜索:ptr
找到约 10,000 项符合「ptr」的源代码
代码结果 10,000
www.eeworm.com/read/141545/13001069
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/141545/13001073
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/141545/13001184
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/141545/13001274
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
www.eeworm.com/read/141545/13001444
c ptr_out.c
#include
void main(void)
{
int value;
printf("The address of the variable value is %p\n", &value);
}
www.eeworm.com/read/141545/13002317
cpp ptr_obj.cpp
#include
class Base
{
public:
void base_message(void) { cout
www.eeworm.com/read/141545/13003755
c argv_ptr.c
#include
void main(int argc, char **argv)
{
while (*argv)
printf ("%s\n", *argv++);
}
www.eeworm.com/read/141545/13003806
c env_ptr.c
#include
void main(int argc, char **argv, char **env)
{
while (*env)
printf("%s\n", *env++);
}
www.eeworm.com/read/242370/13009070
cpp dbl_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/242370/13009079
cpp ptr_traversal.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