debugging runtime error

Discussion in 'C++' started by pauldepstein@att.net, Jan 14, 2006.

  1. Guest

    I am trying to debug a program with the Bloodshed dev c++ compiler.

    The program tries to use a recursive function to price financial
    options.

    It compiles but I get a memory violation when I run it.

    When I run it through the debugger, using watch variables,

    ofstream tritree_basic("tritree_basic_data.txt",
    ios::eek:ut|ios::app|ios::ate); gives the response

    out = Not found in current context.

    I know that out refers to ios::eek:ut. But what does this mean? Does
    this point the way towards finding the error?

    Paul Epstein
    , Jan 14, 2006
    #1
    1. Advertising

  2. TB Guest

    sade:
    > I am trying to debug a program with the Bloodshed dev c++ compiler.
    >
    > The program tries to use a recursive function to price financial
    > options.
    >
    > It compiles but I get a memory violation when I run it.
    >
    > When I run it through the debugger, using watch variables,
    >
    > ofstream tritree_basic("tritree_basic_data.txt",
    > ios::eek:ut|ios::app|ios::ate); gives the response
    >
    > out = Not found in current context.
    >
    > I know that out refers to ios::eek:ut. But what does this mean? Does
    > this point the way towards finding the error?
    >


    That's just the debugger haunting you.
    A memory violation usually stems from illegal pointer use.

    TB
    TB, Jan 14, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sathiamoorthy

    Common Language Runtime Debugging Services

    Sathiamoorthy, Sep 13, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    3,813
    abutty abutty
    Sep 16, 2005
  2. Johann Blake
    Replies:
    1
    Views:
    1,184
    Hermit Dave
    Jan 5, 2004
  3. Bob Bamberg

    Debugging Runtime Error

    Bob Bamberg, Nov 7, 2003, in forum: C++
    Replies:
    5
    Views:
    807
    Bob Bamberg
    Nov 10, 2003
  4. jacob navia

    Debugging C vs debugging C++

    jacob navia, Oct 26, 2006, in forum: C Programming
    Replies:
    11
    Views:
    571
    Ian Collins
    Oct 27, 2006
  5. AAaron123
    Replies:
    3
    Views:
    643
    AAaron123
    Jul 28, 2009
Loading...

Share This Page