working with numeric data in files

This is a discussion on working with numeric data in files within the C Programming forums, part of the General Programming Boards category; hi, can someone pls tell me how i can open a file that contains numeric data (like, millions of numbers) ...

  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    45

    working with numeric data in files

    hi,

    can someone pls tell me how i can open a file that contains numeric data (like, millions of numbers) and do mathematical operations on them? if i am not wrong, the basic skeleton of what i have to do is to open the file (surprisingly, some are 'plain text files', though they contain entirely numbers), place these numbers into arrays, then perform the operations on each element, then output the new arrays into the output file.

    are there any particular chapters in a c book that i can refer to? i cannot read the whole book as i don have the time.

  2. #2
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    http://www.cprogramming.com/tutorial.html - pretty much everything under "C Tutorial" except for the last 3 or 4 items.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 48
    Last Post: 09-26-2008, 04:45 AM
  2. data structure design for data aggregation
    By George2 in forum C# Programming
    Replies: 0
    Last Post: 05-20-2008, 07:43 AM
  3. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 02:30 PM
  4. Replies: 12
    Last Post: 10-17-2005, 07:49 AM
  5. Write and use data stored in data files...
    By alex6852 in forum C++ Programming
    Replies: 2
    Last Post: 11-01-2001, 01:45 PM

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