Skip to content
Snippets Groups Projects
Commit 87a0c123 authored by guoguo.yu's avatar guoguo.yu :speech_balloon:
Browse files

Update queue.c

parent cda5d123
Branches
No related tags found
1 merge request!1is_empty
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
#include "queue.h" #include "queue.h"
bool is_empty(queue q){ bool is_empty(queue q){
if (q.tail<0) return true; return (q.tail<0);
else return false;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment