|
Hi Experts
I am reading a 7GB File line by line and i need to write some of it's contantants into two files of 9MB and 6MB in a function, for reading and writing i am using a while loop,but my application is not writing the complete OUT-PUT Files. it seems my application is not able to read the complete In-Put File.
My System has only 256MB of RAM and hardly 8 GB Free space in my Hard disk.
so can anybody tell me what could be the reason?
Thanks in advance
RYK
|
|
|
|
|
Take a look here
Thank you masters!
|
|
|
|
|
But Dear i m not using MFC or SDK
|
|
|
|
|
You are suggesting that he memory map a file... a file that is more than twice his available address space...?
Peace!
N.B. While we do have a 4GB address space on Win32, only 2-3GB of it can be considered available, and even that takes some doing...
-=- James Please rate this message - let me know if I helped or not!<hr></hr> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
VC_RYK wrote: it seems my application is not able to read the complete In-Put File.
My System has only 256MB of RAM and hardly 8 GB Free space in my Hard disk.
so can anybody tell me what could be the reason?
Are you storing anything other than the current line? If not, I can't imagine RAM or disk space having any relevancy.
Can you provide a code snippet that exhibits the problem?
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
I vaguely recall that ifstream doesn't work on files over 2GB. You could try the regular CRT buffered IO calls.
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
Hi Masters!
--------------
Somebody's asked me to introduce a tutorial on "memory management" in windows with a lot of images in it to
illustrate the contexts. any help?
Thank you masters!
|
|
|
|
|
so, now you need the content or the images?
by the way how about googling or using the search here on CP
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
As you do not know, there's thousands of them on the internet!
As every knows (but you!), I meant a good one!
Thank you masters!
|
|
|
|
|
Jusef Marzbany wrote: there's thousands of them on the internet!
I'd say that's a good thing.
|
|
|
|
|
so you cannot do your assignments yourself ?
you're a pity
|
|
|
|
|
Thanx 4 Ur .hlp
Thank you masters!
|
|
|
|
|
Your search is better than me.
|
|
|
|
|
Hi all,
How to create a C# control (using VC# 2008 .Net) which can be used in any language (mainly in VC++ 2008 .Net)?
Please guide me.
I appreciate any and all comments and suggestions.
Thanks in advance.
Regards,
Aniket A. Salunkhe
|
|
|
|
|
We discuss native programming here. You may want to ask this question in one of those managed code forums.
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
Rajesh R Subramanian wrote: in one of those managed code forums
You may add:" personally, I have nothing to do with such rubbish!" to express further your disgust.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Well put. Now there's someone who knows me better.
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
You must be ask on the Managed C++/CLI[^] but why you dont want to use of c++ instead C#?
|
|
|
|
|
Because he wants to go against the tide.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
And you are with us or with C#(against the tide)!?
|
|
|
|
|
Hi all,
Thanks to everyone for sugestions.
I will ask same question in managed C++ forum.
Thanks & Regards,
Aniket A. Salunkhe
|
|
|
|
|
Dear all
i am doing image processing transformation, who has any angle rotation code, can provide it with me.thanks a lot.
|
|
|
|
|
The CodeProject 's article search engine usually does miracles [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
|
how can i get system date in (mm/dd/yy) format.........?
|
|
|
|