Thread: function

  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    14

    function

    write a function called readName() that gets a filename from the user and reads
    a line from that file, it returns true if all file operations succeeed and false otherwise,
    assume the file is a text file

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Here's a better idea. YOU write a function called readName() that gets a filename from the user and reads
    a line from that file, it returns true if all file operations succeeed and false otherwise,
    assume the file is a text file.


    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Dec 2005
    Posts
    14
    please

  4. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    no - do your own homework.

  5. #5
    Registered User
    Join Date
    Dec 2005
    Posts
    14
    this is exam

  6. #6
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Ok...

    no - do your own exam.
    Sent from my iPadŽ

  7. #7
    Registered User
    Join Date
    Jan 2005
    Posts
    847
    Quote Originally Posted by shawn33
    this is exam
    All the more reason to do your own work. This is a fairly basic function if you don't know how to do it then you're not ready to take an exam.

  8. #8
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    I have already posted links to the rules and homework policy for you. You persist.

    Do your own work.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  2. Seg Fault in Compare Function
    By tytelizgal in forum C Programming
    Replies: 1
    Last Post: 10-25-2008, 03:06 PM
  3. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  4. Replies: 28
    Last Post: 07-16-2006, 11:35 PM
  5. const at the end of a sub routine?
    By Kleid-0 in forum C++ Programming
    Replies: 14
    Last Post: 10-23-2005, 06:44 PM