Thread: Can someone please tell me what is a saved file.in C programming

  1. #1
    Registered User
    Join Date
    Sep 2018
    Posts
    31

    Can someone please tell me what is a saved file.in C programming

    Hello, I have written a code in C to reverse string and integers now I'm required to have a file reverse.in beside reverse.c can please someone explains to me what it is since I'm new in C language, thanks in advance

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    It sounds like you are supposed to read from file instead of from standard input. That said, you can use the same approach suggested by the instructor of another person who posted Computing divetimes based on time logged
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Sep 2018
    Posts
    31
    I'm sorry do I have to include any function in my existing code, I'm really confused, thank you

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 04-03-2017, 06:17 AM
  2. Location of Saved File
    By loopshot in forum C++ Programming
    Replies: 13
    Last Post: 01-22-2006, 11:26 PM
  3. reading saved file
    By firefly in forum C++ Programming
    Replies: 1
    Last Post: 07-09-2005, 01:24 AM
  4. This board saved my programming life!
    By yahtzy in forum C++ Programming
    Replies: 1
    Last Post: 02-12-2002, 06:32 PM

Tags for this Thread