Thread: printing to an array

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User zmerlinz's Avatar
    Join Date
    Apr 2003
    Posts
    19

    [**RESOlVED**]printing to an array

    i have a text file that contains numbers and i am reading them in line by line, this is not a problem

    but the problems come when i try to get these numbers and put each number in the array, for some reason it just seems to take the first character (either a 0 or a -) and it printts out it's ASCII equivialant and i don't want this

    any ideas on how to remedy this ??

    here is the code so far

    any help will be appreciated

    cheers
    Last edited by zmerlinz; 04-29-2003 at 07:59 AM.
    Why is it all Mafia bosses are called Don? I mean, Donald isn't even an Italian name
    [Galahtech.com] | [My Site] | [Fishsponge] | [UnixForum.co.uk]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. printing half a char array
    By theoneandonly in forum C Programming
    Replies: 19
    Last Post: 11-11-2006, 07:27 AM
  2. Replies: 3
    Last Post: 11-03-2003, 08:55 PM
  3. Struct *** initialization
    By Saravanan in forum C Programming
    Replies: 20
    Last Post: 10-09-2003, 12:04 PM
  4. Array Program
    By emmx in forum C Programming
    Replies: 3
    Last Post: 08-31-2003, 12:44 AM
  5. Printing an integer stored in an array
    By Freez3L in forum C Programming
    Replies: 4
    Last Post: 11-18-2002, 02:11 AM