Any idea how to implement a FIFO queue of chars in C? It doesn't need to be too fancy, just a fixed size (say 256 chars) and can't use any library functions (this is for a hobby OS kernel I'm writing, and there's not a lot of functions available for use). I just tried to make one, then I realized... hey wait, this is an implementation of a stack, not a queue :p (I must say, it worked pretty well for a stack... but I don't need a stack here.)
mmiikkee12 1 Posting Whiz in Training
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
iamthwee
mmiikkee12 1 Posting Whiz in Training
Dani 4,329 The Queen of DaniWeb Administrator Featured Poster Premium Member
mmiikkee12 1 Posting Whiz in Training
mmiikkee12 1 Posting Whiz in Training
kiranxxx 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.