help C program

posted by .

I keep getting an error that says "no new endline at the end of file"

but i pressed enter and it still won't work.

i am compiling with gcc

are there anything else i should look at?

I'm also compiling with other files together. and All the files have a new line at the end so why the error?

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. Algebra

    - ok... we keep getting this one wrong: Solve the following equation for x. Write your answer as a fraction in simplest form. -6(x-5)=-2x-8-6(3x-5) What is it you don't understand about this?
  2. Calculus

    (This problem uses a TI-89 calculator) Find the largest and smallest values of the following function on their given intervals: y=(cos x)^x [-1.5, 4.75] This is what I put in the calculator (home screen): fMin((cos(x))^x,x I -1.5 < …
  3. Calculus (repost)

    This problem uses a TI-89 calculator) Find the largest and smallest values of the following function on their given intervals: y=(cos x)^x [-1.5, 4.75] This is what I put in the calculator (home screen): fMin((cos(x))^x,x I -1.5 < …
  4. C Programming

    I don't know what to do now. Below is my code I have so far but I have no idea what to do next. Here's the prompt for what the program should do: Welcome to the Weather Balloon Altitude and Velocity Program. Enter the Balloon's Starting …
  5. Calculus

    Is x^2 - 2x 1 to 1? I keep getting yes every way I try to work it. Book says no. In the end, I get (with x1=1 and x2=-1 <- I use these numbers because of the x^2) f(x1) = -1 and f(x2)=3. I can't seem to find if x1 = x2 (btw, I know
  6. computer

    A-Asking the user to pick a number between 1 and 20 and having the computer pick a number between 1 and 20 and telling the user if they won or lost B- For finding the logic error in the program C- For finding and fixing the logic error …
  7. Programming

    2. Then it should prompt the user for the input file name of the file containing the data to sort. 3. If the program can't open the file or if no file name is entered (^d or ^z is entered for EOF), it should print an error message …
  8. Computer (Programming with Python)

    Problem 1: Multiplication Drill Computers can perform calculations extremely quickly and accurately, but it's often handy to calculate with the computers we carry around inside our heads. Write a program to drill you in multiplication …
  9. c++ programming

    Aiden Nelinski is paid every Friday. He is scheduled to receive either a 2% or 2.5% raise next week. He wants a program that calculates and displays the amount of his new weekly paid.The current pay must not exceed RM 50.00 and if …
  10. Java programming

    Okay so I am rewrite the program and it's still not coming right can anyone help me see what's going wrong here please I have to turn this in by tmw so here the program The following program is supposed to read two numbers from a file …

More Similar Questions