CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: eBooster

Search: Search took 0.02 seconds.

  1. Re: Debug Assertion Failed! due to the use of ifstream

    You were since very close : the bug came from the second line after the one you highlighted.
  2. Re: Debug Assertion Failed! due to the use of ifstream

    Yes, I have checked this, but I think it come from the source you said in post #13.
  3. Re: Debug Assertion Failed! due to the use of ifstream

    I tried your advice in post #13 without success.
  4. Re: Debug Assertion Failed! due to the use of ifstream

    To be honnest, I cannot say since the whole code does not come from me. But I still working on this matter.
  5. Re: Debug Assertion Failed! due to the use of ifstream

    Yes, I discovered that based on your previous advice. Now I am trying to see why an index may be out of range.
  6. Re: Debug Assertion Failed! due to the use of ifstream

    I will now try to separate the file as described above.

    However, please find attached the files I am trying to run.
    32435
  7. Re: Debug Assertion Failed! due to the use of ifstream

    I have done this and I am also redirected to the file at C:\Program Files\Microsoft Visual Studio 10.0\VC\include\vector and exactly at this part :



    The CallStack indicates the following :
  8. Re: Debug Assertion Failed! due to the use of ifstream

    I believe the bug rizes from 'const char* file = "C:\\WAR ROOM\\FINANCE\\Cpp\\Test\\Test\\swapData.txt";' and the program does not go in the loop 'if (fin.good())' : this means that program is not...
  9. Re: Debug Assertion Failed! due to the use of ifstream

    I added the statement using namespace std but the result remains the same. I need to take the values from a file.

    The swap.h file is as below :



    #ifndef _SWAP_H__
    #define _SWAP_H__
    ...
  10. Re: Debug Assertion Failed! due to the use of ifstream

    Unfortunately I still have the same error message as above using 1).

    Using <sstream> as advised in 2) make the program to not compile.
  11. Debug Assertion Failed! due to the use of ifstream

    Hi all,

    I am trying to run the code below but I receive the following error message :



    Thanks in advance for your help.


    #include <fstream>
  12. Replies
    2
    Views
    6,253

    Re: error C2143 & error C2433

    Thanks, this work fine for me (I have used using namespace std; everywhere instead).
  13. Replies
    2
    Views
    6,253

    [RESOLVED] error C2143 & error C2433

    Hi all,

    I am running a cpp file that uses the file DATECL.H below but I receive the following error messages :



    Thanks in advance for your help.
  14. Replies
    0
    Views
    3,625

    Deployment bug in visual studio 2010

    Hi all,

    I am trying to publish a C# Project in Visual Studio 2010 express but I receive the error/warning messages below :




    I checked the path C:\Program Files\Microsoft...
Results 1 to 14 of 14





Click Here to Expand Forum to Full Width

Featured