How to use overwriting circular buffer for printing strings in c programming?
C / C++ / MFC
4
Posts
4
Posters
0
Views
1
Watching
-
Circular buffer in embedded c
-
Circular buffer in embedded c
-
Circular buffer in embedded c
-
Circular buffer in embedded c
You may either want to use the circular buffer for holding the pointers of the actual strings or, more likely, for holding the strings themselves. In the first case coding is pretty straightforward (you may use Wikipedia's circular buffe[^]r page for inception). On the other hand, the second case is bit more complex, since you have to explicitely manage blocks of bytes (the strings) in the circular buffer.
THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?! -- C++ FQA Lite