Phone number

This is a discussion on Phone number within the C++ Programming forums, part of the General Programming Boards category; I am writing a program for a digital rolodex which stores phone numbers and addresses of people. However, when I ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    3

    Arrow Phone number

    I am writing a program for a digital rolodex which stores phone numbers and addresses of people. However, when I try to display the phone number in my output it pops up in scientific notation. I have tried data types such as float, double and long. If there is a data type I can use please let me know. Here is my class definition
    Attached Files Attached Files
    • File Type: cpp q6.cpp (930 Bytes, 81 views)

  2. #2
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    string, char [], char*

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Phone number to word conversion program
    By lostmyshadow in forum C Programming
    Replies: 12
    Last Post: 04-21-2009, 02:31 PM
  2. Replies: 11
    Last Post: 10-07-2008, 06:19 PM
  3. Trouble with phone number class
    By Kayoss in forum C++ Programming
    Replies: 2
    Last Post: 04-27-2006, 08:12 PM
  4. Classes using phone numbers
    By correlcj in forum C++ Programming
    Replies: 3
    Last Post: 11-13-2002, 09:17 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21