代码搜索:pointer
找到约 10,000 项符合「pointer」的源代码
代码结果 10,000
www.eeworm.com/read/409436/11326647
inc tisstimp.inc
//************************************************************************************//
// File created automatically by GenerateRecords.xls //
// Modified by hand
www.eeworm.com/read/409424/11327701
txt 经典c程序100例71--80.txt
经典c程序100例==71--80
【程序71】
题目:编写input()和output()函数输入,输出5个学生的数据记录。
1.程序分析:
2.程序源代码:
#define N 5
struct student
{ char num[6];
char name[8];
int score[4];
} stu[N];
input(stu)
struct stude
www.eeworm.com/read/263967/11335235
log cc_build_release.log
-------------------------- EVM5502VR1.pjt - Release --------------------------
[main.cpp] "C:\CCStudio_v3.1\C5500\cgtools\bin\cl55" -o2 -fr"D:/EVM5502BOOT/Release" -@"Release.lkf" "main.cpp"
"main
www.eeworm.com/read/409272/11337367
c useaddr.c
#include
void main(void)
{
int a = 1, b = 2;
int *i_pointer;
// Assign an address
i_pointer = &a;
// Change the value pointed to by i_pointer to 5
*i_point
www.eeworm.com/read/409272/11337647
c brk.c
#include
#include
void main(void)
{
char *ptr;
printf("Starting heap available %u\n", coreleft());
ptr = malloc(1); // Get pointer to current break v
www.eeworm.com/read/409260/11338475
f90 btree.f90
!
! 二元树排序范例
!
module typedef
implicit none
type :: data
integer :: n ! 存放的数据
integer :: repeat ! 数据重覆的次数
type(data), pointer :: left ! 左枝
type(data), pointer :: r
www.eeworm.com/read/409260/11338719
f90 ex1005.f90
program ex1005
implicit none
integer, pointer :: a(:) ! 定义a是一维的指针数组
allocate( a(5) ) ! 配置5个整数的空间给指针a
a = (/ 1,2,3,4,5 /)
write(*,*) a
deallocate( a ) ! allocate得到的内存要记得归还
stop
www.eeworm.com/read/409260/11338723
f90 ex1004.f90
program ex1004
implicit none
integer, pointer :: a(:)
integer, target :: b(5)=(/ 1,2,3,4,5 /)
! 把指针数组a指向数组b
a=>b
! a(1~5)=>b(1~5)
write(*,*) a
a=>b(1:3)
! a(1)=>b(1), a(2
www.eeworm.com/read/409260/11338726
f90 ex1014.f90
module typedef
implicit none
type :: datalink
integer :: i
type(datalink), pointer :: prev ! 指向上一条数据
type(datalink), pointer :: next ! 指向下一条数据
end type datalink
end module typ
www.eeworm.com/read/409260/11338730
f90 ex1011.f90
module typedef
implicit none
type :: datalink
integer :: i
type(datalink), pointer :: next
end type datalink
end module typedef
program ex1011
use typedef
implicit none