Пример #1
0
int main()
{
	struct node* head;
	int len;
	head = BuildOneTwoThree();

	ReverseTest();
	display(head);

	
	Push(&head, 13);
	
	Push(&(head->next), 42);
	

	len = Length(head);
	printf("%d\n", len);

	int m = Count(head, 2);
	//printf("%d\n",m);
	display(head);

	DeleteList(&head); 
	

	

	struct node* myList = BuildOneTwoThree(); 
	
	int lastNode = GetNth(myList, 2); 
	
	//printf("%d\n", lastNode);

	InsertNthTest();

	PopTest();
	display(head);

	MoveNodeTest();
	DestroyTest();
   


	getchar();
	return 0;
}
Пример #2
0
int main(int argc, char const *argv[]) {
    InsertNthTest();
    return 0;
}
main()
{
	InsertNthTest();
}
Пример #4
0
main()
{
		InsertNthTest();
		return 0;
}