Dev-Cpp icon indicating copy to clipboard operation
Dev-Cpp copied to clipboard

DEVC++ cannot open one of my files

Open hbhz-zcy opened this issue 3 years ago • 6 comments
trafficstars

I get a file named "in.txt" with about 2KB. Then I tried to open it in DEV but it shows a same thing like "https://github.com/Embarcadero/Dev-Cpp/issues/12".
But I tried to clear "in.txt" to 0KB , restart my computer and use admin but they don't work at all.
I find that memory increased a lot at then DEV was killed by system.
And sometimes it says "out of memory".

hbhz-zcy avatar Oct 25 '22 09:10 hbhz-zcy

I used Embarcadero DEV-C++ 6.3.

hbhz-zcy avatar Oct 25 '22 10:10 hbhz-zcy

the bad thing is my scanf can't be used for read now and gdb can show nothing.
now I have to install DEVC++ again.
I'm going to be crazy now!

hbhz-zcy avatar Oct 25 '22 11:10 hbhz-zcy

Can you give a link to the file?

pmcgee69 avatar Oct 25 '22 12:10 pmcgee69

It's about so:

100 100
1 2
2 3
3 4
......
99 100
100 1

(In fact I have reinstall DEV and delete "in.txt")

hbhz-zcy avatar Oct 26 '22 08:10 hbhz-zcy

Are you compiling C or C++ ?

pmcgee69 avatar Oct 26 '22 11:10 pmcgee69

I use C++.
In fact I was using one C++ file to read it , with freopen("in.txt","r",stdin).
Suddenlt I found that it read nothing and then I can't open that file.
(all the files can't be found now).

hbhz-zcy avatar Oct 28 '22 06:10 hbhz-zcy