wc for File class
wc for File class
is there something similar to wc for the file class? I read through the Programmer's Reference section, but didn't see anything. All I'm trying to do is initialize a vector to the exact length necessary to read values from a given file of doubles. I can think of several reasonable ways to do it, but it seems like there is probably a really really easy way that I'm missing.