Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void fibl(REF * h)
- {
- h->b = 1;
- h->next = new REF(1);
- do
- {
- int next = h->b + h->next->b;
- h = h->next;
- h->next = new REF(next);
- } while (h->next != nullptr);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement