I think you're right. But, in this case, what's the alternative approach?
Is there another way of searching the linked list faster? I can't think of another approach especially with the way the...
Type: Posts; User: wkohlani
I think you're right. But, in this case, what's the alternative approach?
Is there another way of searching the linked list faster? I can't think of another approach especially with the way the...
hmm...
Yes, since the function is called whenever I read a line (that is 100s of millions of times), so it is getting called alot. And in each call the following line is executed:
struct...
Thank you all for you valuable replies. I took some of the comments into consideration and used fgets, and also read 1 million lines at a time and put that into an array and processed that, and also...
Thanks guys for this good start !
I don't think I'm very worried about "fgets" or "fscanf" because I've used both before and things were the same.
The big problem that I don't understand is...
Hi Everyone:
First, I'd like to say that I'm new here and I hope to find the help I need.
I wrote a c program that reads a GIGANTIC file (~16GB) line by line using fscanf in a while loop as...