Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as C++ by bit ( 6 years ago )
void doBitStuffing(string databits)
{
cout<<"\nData Bits After Bit stuffing :";
for(int i=0; i<databits.length(); i++)
{
if(databits[i]=='1')
count++;
else
count=0;
cout<<databits[i];
if(count==5)
{
cout<<(" 0 ");
count=0;
}
}
Revise this Paste