subject
Computers and Technology, 24.03.2020 18:06 knela

Macro File: Create macros to print an int, print a char, print a string, get a string from the user, open file, close file, read file, and allocate heap memory. You can use more macros than these if you like. Main Program File: 1. Allocate 1024 bytes of dynamic memory and save the pointer to the area. 2. The main program is a loop in which you ask the user for a filename. If they enter nothing for the filename, exit the program. Otherwise: a. Open the file for reading. If the file does not exist, print an error message and terminate the program. b. Read the file into an input buffer space of 1024 bytes. c. Close the file. d. Output the original data to the console. e. Call the compression function. Save the size of the compressed data in memory.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:30
Experimental data that is expressed using numbers is said to be
Answers: 1
question
Computers and Technology, 24.06.2019 16:30
The database design steps are listed below in the incorrect order. choose the correct order number next to each step. determine the information to be stored in the database. determine the fields needed to record the data determine if there will be any repetition of data entered, and separate the fields into tables to normalize the data. create relationships to connect the tables.
Answers: 3
question
Computers and Technology, 24.06.2019 23:00
Hypertension occurs when blood pressure is too high.
Answers: 1
question
Computers and Technology, 25.06.2019 09:10
3.12: the speed of sound the speed of sound depends on the material the sound is passing through. below is the approximate speed of sound (in feet per second) for air, water and steel: air: 1,100 feet per second water: 4,900 feet per second steel: 16,400 feet per second write a program class the speed of sound that asks the user to enter โ€œairโ€, โ€œwaterโ€, or โ€œsteelโ€, and the distance that a sound wave will travel in the medium. the program should then display the amount of time it will take. you can calculate the amount of time it takes sound to travel in air with the following formula: time = distance/1,100 you can calculate the amount of time it takes sound to travel in water with the following formula: time = distance/4,900 you can calculate the amount of time it takes sound to travel in steel with the following formula: time = distance/16,400
Answers: 3
You know the right answer?
Macro File: Create macros to print an int, print a char, print a string, get a string from the user,...
Questions
Questions on the website: 13722360