Thread: What Does This Error Message Mean?

  1. #16
    Registered User rstanley's Avatar
    Join Date
    Jun 2014
    Location
    New York, NY
    Posts
    1,111
    You should always capture the return value from fscanf() and scanf() to insure that data was input,

    thmm, your line numbers might not match the line numbers in his latest code. Try compiling with a fresh copy of his code, preserving the blank lines.

  2. #17
    Registered User
    Join Date
    Sep 2020
    Posts
    150
    How do you compile your code ? Can you post you build script ?

  3. #18
    Registered User rstanley's Avatar
    Join Date
    Jun 2014
    Location
    New York, NY
    Posts
    1,111
    Quote Originally Posted by thmm View Post
    How do you compile your code ? Can you post you build script ?
    On Linux:
    Code:
    gcc -std=c18 -Wall -Wextra -Wpedantic -g -I . -o arraycheck  arraycheck.c

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 13
    Last Post: 10-08-2010, 05:35 PM
  2. error message
    By ke121885 in forum C Programming
    Replies: 7
    Last Post: 10-19-2009, 01:31 PM
  3. Error message
    By lionking30685 in forum C Programming
    Replies: 2
    Last Post: 11-15-2007, 02:00 AM
  4. Error message...
    By Meganan in forum C++ Programming
    Replies: 6
    Last Post: 10-08-2005, 12:44 AM
  5. error message
    By Unregistered in forum Windows Programming
    Replies: 3
    Last Post: 05-17-2002, 07:14 PM

Tags for this Thread