Daily Diaries Of CTK

.

Hãy chọn cho mình một con đường để đi

Nếu bạn không có con đường nào để đi thì cũng không có thành công nào chọn bạn

Thứ Bảy, 27 tháng 8, 2016

Danh sách liên kết vòng

// Danh sach lien ket don vong. #include<iostream> using namespace std; int n; struct Node{ int data; Node *next;// chua dia chi node ke tiep ma no tro toi }; struct List{ Node *head; Node *tail; }; void Init(List &l){ // k tao List rong l.head = l.tail = NULL; } Node *creatNode(int x ){ //tao thong tin cho node Node *p = new Node; if(p == NULL) exit(1); p->next = NULL; p->data = x; return p; } bool isEmpty(List...

Thứ Sáu, 26 tháng 8, 2016

Tạo queue bằng danh sách liên kết đơn

/*  * To change this license header, choose License Headers in Project Properties.  * To change this template file, choose Tools | Templates  * and open the template in the editor.  */ /*  * File:   main.cpp  * Author: KHOA  *  * Created on August 26, 2016, 9:10 AM  */ #include <iostream> #include<stdio.h> #include<stdlib.h> using namespace std; struct Node {    ...

Tạo Stack bằng danh sách liên kết đơn

/*  * To change this license header, choose License Headers in Project Properties.  * To change this template file, choose Tools | Templates  * and open the template in the editor.  */ /*  * File:   khoa.cpp  * Author: KHOA  *  * Created on August 26, 2016, 9:16 AM  */ #include <iostream> #include<stdio.h> #include<stdio.h> using namespace std; struct Node {     int...

Thứ Ba, 2 tháng 8, 2016

Video tuyệt đẹp về Việt Nam do Bộ Ngoại giao Việt Nam thực hiện

Video tuyệt đẹp về Việt Nma do Bộ Ngoại giao thực hiện ...