Question

Consider the grading robot report for t1.c (Taskl) of Lab 6 below: Testing Repo repo. alavergn/6 Lab 6 Task 1 at 2019-07-08 1
Weekly Exercise 7 - Answer the following questions in CourSys text field: Make sure you include the question number along wit
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Ans.1 This is the error report thrown by the unix compiler, compiling a c promgramming file.

The error is encountered int function named: intarr_save_binary() at line 24 where it econtered the line, FILE * theFile = fopen(filename, "w");

The compiler has failed to compile the file because it did not identify the type of keyword FILE.

Ans. 2 To fix the t1.c and resolve the error we have to write statement: #include <stdio.h>. This statement tells the compiler to insert the contents of stdio at that particular place. stdio.h is the header file for standard input and output.

Add a comment
Know the answer?
Add Answer to:
Consider the grading robot report for t1.c (Taskl) of Lab 6 below: Testing Repo repo. alavergn/6...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Need C++ coding for this lab exercise given below :) 4. Lab Exercise — Templates Exercise...

    Need C++ coding for this lab exercise given below :) 4. Lab Exercise — Templates Exercise 1 - Function Templating For this part of the lab make a template out of the myMax function and test it on different data types. Copy maxTemplate.cpp to your Hercules account space. Do that by: Entering the command:cp /net/data/ftp/pub/class/115/ftp/cpp/Templates/maxTemplate.cpp maxTemplate.cpp Compile and run the program to see how it works. Make a template out of myMax. Don't forget the return type. Modify the prototype appropriately. Test your myMax template on int, double,...

  • I need help with this assignment in C++, please! *** The instructions and programming style detai...

    I need help with this assignment in C++, please! *** The instructions and programming style details are crucial for this assignment! Goal: Your assignment is to write a C+ program to read in a list of phone call records from a file, and output them in a more user-friendly format to the standard output (cout). In so doing, you will practice using the ifstream class, I'O manipulators, and the string class. File format: Here is an example of a file...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT