subject

our program will make use of the POSIX system I/O calls discussed in lectures. That is, you MUST only use open(), close(), read(), write(), lseek(). 2) You are NOT permitted to use any C++ nor C standard I/O library functions nor cin nor cout. Furthermore, you cannot use any C++ nor C standard library functions for string oeprations. 3) You are NOT permitted to reference nor use the size of the input file in your program. 4) Your program will do the following three actions simultaneously after having opened the input text file: a) Read the input file from the beginning of the file to the end of file, character by character. You may only use one character array for storing the characters with maximum array size of 32 (regardless of input file size). b) Read the input file in reverse, that is, backwards from the end of the file, character by character. You may only use one character array for storing the characters with maximum array size of 32 (regardless of input file size). c) Compare each character read from part (a) with that from part (b). If they are the same then print to the screen a zero, otherwise print 1.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:00
Acetylene is a gas which burns rapidly on its own, and is considered highly explosive. a) true b) false
Answers: 2
question
Computers and Technology, 22.06.2019 17:00
What allows you to create a wireless connection among your smart devices
Answers: 2
question
Computers and Technology, 23.06.2019 06:30
To become an audio technician, the most successful tactics might include the following. (select all that apply). learning how to persuade other people gaining different types of experience in audio technology learning as much as possible about art history establishing a reputation as a reliable professional
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
Hey i just logged on and one of the moderators deleted a bunch of my answers to questions, even though the answers were right and the people it doesn't make sense but if anyone wants to talk about anything just message me lol (this is super random lol)
Answers: 1
You know the right answer?
our program will make use of the POSIX system I/O calls discussed in lectures. That is, you MUST onl...
Questions
question
Mathematics, 27.01.2021 01:00
question
Mathematics, 27.01.2021 01:00
question
Mathematics, 27.01.2021 01:00
question
Mathematics, 27.01.2021 01:00
question
Mathematics, 27.01.2021 01:00
Questions on the website: 13722365