Question: i need this in the C programming language please without using the std library please these last two photes are the image.dat and error.dat files

i need this in the C programming language please
without using the std library please i need this in the C programming language please without using the
std library please these last two photes are the image.dat and error.dat
these last two photes are the image.dat and error.dat files
files Program 4: Reading values at regular time intervals Due Feb 15
by 11:59pm Points 100 Submitting a file upload Available Feb 8 at

Program 4: Reading values at regular time intervals Due Feb 15 by 11:59pm Points 100 Submitting a file upload Available Feb 8 at 12am - Feb 16 at 11:59pm This assignment was locked Feb 16 at 11:59pm. This program will use the files provided below. They are an updated version of the files produced in program 2. Each file still contains character-integer pairings, the difference is that each of those pairings has been transformed to incorporate a simple parity error detection system. Please note that the data in the included file was stored using this struct: struct data f char chr; short cnt; 3 ; Please use this struct as the basis for your read for this program. Like program 3 , this program should read the character-integer pairs from the "image.dat". file, then display the data read in two forms. The first form is the character - integer pairing and should be displayed as (character, integer). The other form can be thought of as the pairings dcoded form; the character - integer pairing ( ' b',6) would be decoded as 'bbbbbb'. There are few added requirements for program 4: - this program should read one character-integer pair every second. - this program should compute the parity of each pair and report any pairs with odd parity. Parity for this program will be computed as the total number of bits set to 1 in the binary representations of both the character and the integer. character - integer pairing ('b',6) would be decoded as 'bbbbbb'. There are few added requirements for program 4: - this program should read one character-integer pair every second. - this program should compute the parity of each pair and report any pairs with odd parity. Parity for this program will be computed as the total number of bits set to 1 in the binary representations of both the character and the integer. - this program will need to transform the character-integer pair into its original value before displayin it. The character-integer pairs have been transformed to incorporate a simple parity error detection syste Simple parity systems like this one utilize a bit count to determine if the data has been corrupted or might be untouched. For this program, we will use a simple even-odd parity scheme; this scheme works as follows: - count the total number of bits set to 1 in the binary representations of both the character and the integer - double the integer - if the total number of bits is odd, add 1 to the new value Your program isn't required to create data using the above system, merely to compute the parity of the provided data and display either an error message or the translated data. Update: This program can and should be implemented with sleep or nanosleep. Program 5 is the same prompt but with signals and interval timers. a\#\#\#\#\#\#\#\&Hu\#\#\#J\#\#\#r\#'\#v\#\#\#L\#\$\#X\#(\#X\#\$\#t\#\#\#X\#\#\#q\#\#\#dH\%Hy\# Ha\#\#\#LHHHWH\#Hf\#HHSH\#\#nH\#HJ \#C\#"\#L\#\#J\#"\#h\#\#\#v\#\#\#W\#\#\#S\# \#k\#)\#S\#\#\#r\#'\#b\#\#\#h\#\#\#k\#\%\#\#\$\#k\#\#\#1\#\#\#\#! error.dat

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!