Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need the project in C language. Please send me codes of library.h and main.c seperately and follow the instructions. If you can post the
I need the project in C language. Please send me codes of library.h and main.c seperately and follow the instructions. If you can post the solution step by step it would be better for me
In this project the aim is to sum and subtract 2 very large numbers one of them is 100 the other is 89 digits. The numbers will be read from sayi1.txt and sayi2.txt. The results will be written to sonuclar.txt. When the user open the program there will be a men like this. w ==Mathematical operations with big integers. [1]-> Read the numbers from the files.: (1) [2]-> Print the read numbers to the screen. : (2) [+/-]-> Select operation: (+ veya -) [4]-> Print the result to the screen (4) [5]-> Exit : (5) If the user selects 1 in the menu, the numbers are read from the file, if he chooses 2, the read numbers are written to the screen, if he chooses + or -- the operation is selected and the necessary mathematical calculation is made, if he chooses 4, the result of the operation is written to the screen, if he chooses 5, the program ends, The menu shown is an example, you can edit and change it according to your own application, The data types available in the programming language have certain capacities, for example, the int data type can store a 2432 number, so you cannot use standard data types in this project. For example, if the number read from the file is 1000 digits, you should store this number in a one-dimensional array, not w w with standard data types. Each digit of the large digit number read from the file must be kept in an element of the one dimensional array, Things to pay attention: There will be no action in the main.c main function, only file pointer variables, arrays to be defined and the code for the menu can be found, Reading the number from the file and writing each digit to an array element must be done in the islemler.h library (note: library files do not include implementation, only function prototypes can be found) One-dimensional arrays where numbers will be stored must be in bytes, C does not have a byte type data type, so the uint8_t data type in the libraryStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started