代码搜索:pointers
找到约 4,056 项符合「pointers」的源代码
代码结果 4,056
www.eeworm.com/read/340916/12124146
cpp ex4_05.cpp
// Ex4_05.cpp
// Exercising pointers
#include
using std::cout;
using std::endl;
using std::hex;
using std::dec;
int main()
{
long* pnumber = NULL; // Pointer declara
www.eeworm.com/read/340916/12124197
cpp ex6_01.cpp
// Ex6_01.cpp
// Exercising pointers to functions
#include
using std::cout;
using std::endl;
long sum(long a, long b); // Function prototype
long product(long a, long b
www.eeworm.com/read/149428/12378136
c createfs.c
/*
// Program: Format
// Version: 0.90c
// (0.90b/c - fixed compiler warnings, pointers - Eric Auer 2003)
// Written By: Brian E. Reifsnyder
// Copyright: 2002 under the terms of the GNU GPL,
www.eeworm.com/read/128030/14318677
cpp ptrvar.cpp
// ptrvar.cpp
// pointers (address variables)
#include
using namespace std;
int main()
{
int var1 = 11; //two integer variables
int var2 = 22;
cout
www.eeworm.com/read/128030/14318713
cpp copystr.cpp
// copystr.cpp
// copies one string to another with pointers
#include
using namespace std;
int main()
{
void copystr(char*, const char*); //prototype
char* str1 = "Self-c
www.eeworm.com/read/123847/14609930
c parray.c
/* parray.c: Illustrates arrays & pointers */
#include
int min(int* nums, int size) { // or int nums[]
int* end = nums + size; // past the end
int small = *nums;
printf
www.eeworm.com/read/221578/14736952
c globalvars.c
#include "all.h"
#include "globalvars.h"
/* Global variables: configuration document pointers */
xmlDocPtr ctoken;
xmlDocPtr ctab;
/* authdata: byte array holding masterkey */
u_int8_t* authdata;
/*
www.eeworm.com/read/221571/14737251
c parray.c
/* parray.c: Illustrates arrays & pointers */
#include
int min(int* nums, int size) // or int nums[]
{
int* end = nums + size; // past the end
int small = *nums;
printf(
www.eeworm.com/read/217049/14981024
c winpfba.c
/* CXL - Copyright (c) 1987-1989 by Mike Smedley - All Rights Reserved */
/* WINPFBA.C - adds before and/or after function pointers to a field */
#include "cxlwin.h"
int winpfba(void (*bef
www.eeworm.com/read/475965/1374213
c p_and_s.c
/* p_and_s.c -- pointers and strings */
#include
int main(void)
{
const char * mesg = "Don't be a fool!";
const char * copy;
copy = mesg;
printf("%s\n", copy);