代码搜索:ptr
找到约 10,000 项符合「ptr」的源代码
代码结果 10,000
www.eeworm.com/read/350922/10697257
c argv_ptr.c
#include
void main (int argc, char **argv)
{
while (*argv)
printf ("%s\n", *argv++);
}
www.eeworm.com/read/421785/10698671
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/421785/10698797
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 (*
www.eeworm.com/read/276859/10699565
bmp varbmp_ptr.bmp
www.eeworm.com/read/350641/10723409
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/350641/10723772
cpp ptr_obj.cpp
#include
class Base
{
public:
void base_message(void) { cout
www.eeworm.com/read/350637/10724424
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/350637/10724430
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/350637/10724577
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/350637/10724791
c ptr_out.c
#include
void main(void)
{
int value;
printf("The address of the variable value is %p\n", &value);
}