help to read files

E

ekkotang

After I use a lot of memory, I could not read a file by using
ifstream. Anyone can help me?
 
V

Victor Bazarov

After I use a lot of memory, I could not read a file by using
ifstream. Anyone can help me?

The nearest computer store that sells memory upgrades, maybe?...
 
T

Thomas Matthews

After I use a lot of memory, I could not read a file by using
ifstream. Anyone can help me?

Show us the smallest program that recreates the problem.
Are you:
1. Trying to read a file into memory and running out of
memory?
2. Receiving an error condition on the ifstream, but
still haven't used up all of your memory.
3. Tired because you've been using _your_ memory on complex
tasks?
4. The file doesn't exist?

There are probably more reasons, but _you_ will have to
give us more details.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,172
Messages
2,570,934
Members
47,477
Latest member
ColumbusMa

Latest Threads

Top