代码搜索:ptr
找到约 10,000 项符合「ptr」的源代码
代码结果 10,000
www.eeworm.com/read/456367/7350702
cpp fun_ptr.cpp
// fun_ptr.cpp -- pointers to functions
#include
double betsy(int);
double pam(int);
// second argument is pointer to a type double function that
// takes a type int argument
void e
www.eeworm.com/read/456367/7350795
cpp init_ptr.cpp
// init_ptr.cpp -- initialize a pointer
#include
int main()
{
using namespace std;
int higgens = 5;
int * pt = &higgens;
cout
www.eeworm.com/read/456367/7350986
cpp fun_ptr.cpp
// fun_ptr.cpp -- pointers to functions
#include
double betsy(int);
double pam(int);
// second argument is pointer to a type double function that
// takes a type int argument
void e
www.eeworm.com/read/453496/7418286
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/453496/7418293
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/453496/7418313
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/453496/7418432
c ptr_out.c
#include
void main ()
{
int value;
printf("The address of the variable value is %p\n",
&value);
}
www.eeworm.com/read/453496/7418523
c env_ptr.c
#include
void main (int argc, char **argv, char **env)
{
while (*env)
printf("%s\n", *env++);
}
www.eeworm.com/read/453496/7418525
c argv_ptr.c
#include
void main (int argc, char **argv)
{
while (*argv)
printf ("%s\n", *argv++);
}
www.eeworm.com/read/451592/7461403
c ptr_out.c
#include
void main ()
{
int value;
printf("The address of the variable value is %p\n",
&value);
}