代码搜索:ptr
找到约 10,000 项符合「ptr」的源代码
代码结果 10,000
www.eeworm.com/read/162128/10333921
c env_ptr.c
#include
void main (int argc, char **argv, char **env)
{
while (*env)
printf("%s\n", *env++);
}
www.eeworm.com/read/162128/10333929
c argv_ptr.c
#include
void main (int argc, char **argv)
{
while (*argv)
printf ("%s\n", *argv++);
}
www.eeworm.com/read/162078/10336969
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/162078/10336976
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/162078/10337107
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/162078/10337202
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/162078/10337393
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/162078/10339353
cpp ptr_obj.cpp
#include
class Base
{
public:
void base_message(void) { cout
www.eeworm.com/read/162078/10341495
c argv_ptr.c
#include
void main(int argc, char **argv)
{
while (*argv)
printf ("%s\n", *argv++);
}
www.eeworm.com/read/162078/10341629
c env_ptr.c
#include
void main(int argc, char **argv, char **env)
{
while (*env)
printf("%s\n", *env++);
}