Solved

bit stuffing

Posted on 2000-02-27
4
2,128 Views
Last Modified: 2010-07-27
I see that C++ has a library STL (list)for doing some easy bit stuffing.  But I need to do bit stuffing in C.  Does any one have any ideas for me?
0
Comment
Question by:bcarder
  • 2
4 Comments
 
LVL 3

Expert Comment

by:sumant032199
Comment Utility
What is bit stuffing?
is that bitwise programming?
like and, or, xor and left-right shift.
0
 

Author Comment

by:bcarder
Comment Utility
no, I need to send a stream of data (1's & 0's) and if this stream contains 6 consecutive 1's then I need to insert a 0 after the 5th 1.
0
 
LVL 10

Accepted Solution

by:
RONSLOW earned 100 total points
Comment Utility
here is a link

http://www.snippets.org/

has lots of C code for fibbling with bits (and heaps of other stuff).
0
 

Author Comment

by:bcarder
Comment Utility
excellent site thanks for your help.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now