dll_ins3.c

来自「《c与指针》书的代码 是我学习这本书时候敲出来的」· C语言 代码 · 共 18 行

C
18
字号
	/*
	** Add the new node to the list.
	*/
	newnode->fwd = next;

	if( this != rootp ){
		this->fwd = newnode;
		newnode->bwd = this;
	}
	else {
		rootp->fwd = newnode;
		newnode->bwd = NULL;
	}
	if( next != NULL )
		next->bwd = newnode;
	else
		rootp->bwd = newnode;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?