Ill give it a shot. thx.
Type: Posts; User: xxrexdartxx
Ill give it a shot. thx.
Hi guys, i am looking for a little assistance. What i am trying to write is a function that will take a 7 bit character then read its binary value. It will determine if the the amount of 1's are even...
sorry, that was a typo. i did mean nums1. Thanks. I just wanted a second pair of eyes on my OddPar to make sure my logic was ok.
er num1s
Sorry, As i have stated the byte being passed is 0x7f.
int num1s( unsigned char byte ) {
int count = 0;
while(byte > 0)
{
Hello, i am looking for a little help. I have a function that takes a unsigned char byte and it determines odd parity. However, i am getting it stuck in an endless loop. Is anyone available to check...
Actually, this still does not return correctly(i think). When i return ones_and_zeroes i still get a
warning: return makes integer from pointer without a cast
Dosent this still return it one item...
Thank you.
Thanks for the reply, I do understand that. Maybe this will further explain what i am trying to do:
purpose of my function: the function prompts the user for input, reads 7 unsigned values...
Hello everyone, i am new here and i am looking for a little help. What i am working on is a function that will require 7 numbers inputted from a user. Then it will add a '0' before the items. Then it...