Thread: Numbers to text problem

  1. #1
    Registered User
    Join Date
    Sep 2010
    Posts
    42

    Numbers to text problem

    Found my error for the moment.
    Last edited by d2rover; 01-30-2011 at 10:37 AM. Reason: Not thinking this morning

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Well, the error message is clear enough, I think: not all paths (through the function) return a value. For instance, if you call numbervalue with something other than zero, you will never return a value (the only return statement is in the ==0 case). So you need to make sure that you are returning the string you are building.

  3. #3
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Do not edit your post and remove the original question. Now we have a thread that no one can understand.

    Closed.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Read max value from strings of numbers in text file
    By james890 in forum C++ Programming
    Replies: 14
    Last Post: 04-15-2010, 03:26 PM
  2. deleting numbers in text files
    By ioanLesbi in forum C Programming
    Replies: 2
    Last Post: 04-05-2010, 11:24 PM
  3. Help with Numbers - Newbie Problem
    By Sn1per in forum C Programming
    Replies: 9
    Last Post: 10-30-2009, 01:50 PM
  4. Text files problem
    By strickey in forum C++ Programming
    Replies: 4
    Last Post: 11-29-2007, 06:39 AM
  5. How to use FTP?
    By maxorator in forum C++ Programming
    Replies: 8
    Last Post: 11-04-2005, 03:17 PM