November 20th, 2012, 09:20 PM
Thanks for spotting the mistake. I replaced "donefile" with "tfile", and still got the same output.
I've also added a
if (fin.rdstate() & ifstream::failbit) != 0)
November 20th, 2012, 05:23 AM
I'm using Visual C++ 6.0 and I'm trying to use fstream to open and read a file that is created only during runtime. This file is written by another function running on another thread, and my...
April 4th, 2012, 09:41 PM
Thanks. I tried that, but now I have a different error:
error LNK2001: unresolved external symbol "int __cdecl _CrtDumpMemoryLeaks(void)
error LNK2001: unresolved external symbol "__cdecl...
April 3rd, 2012, 10:21 PM
This is my first time using the CRT library for detecting memory leaks, and I'm using Visual C++ 2003. As mentioned in this website (http://msdn.microsoft.com/en-us/library/x98tx3cf.aspx), I...
December 9th, 2009, 04:37 AM
I'm converting a Linux program to a Windows program using Visual Studio .NET 2003. The code was written using pthread.
I have a "First-chance exception at 0x100084c8 in project.exe:...