comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » counting elements in files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
counting elements in files [message #6614] Wed, 24 July 1996 00:00
gromm is currently offline  gromm
Messages: 11
Registered: July 1996
Junior Member
I have a file with a bunch of numbers stored in it, formatted. It looks
something like this:


2555 3456 4567 5678 6789 7890
2345 6788 3445 6778 8899 9900
..
..
..

I am having trouble finding a procedure that will count the number of
elements in this file, so that when I create an array into which to read
this file, I will know what size to make the array.
Any suggestions?

Gadi
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Dynamic creation of PV-Wave variables in C
Next Topic: Re: xrange,yrange and zrange in surface

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:13:21 PDT 2025

Total time taken to generate the page: 0.00553 seconds