exception in c++

kaveh rahimi 61 Reputation points
2021-08-22T16:21:23.907+00:00

Hi , I make a new consoleapplication and when I open it I receive the following exception:
"An exception has been encountered. This may be caused by an extension."
How can I fix this?
Please help
Thanks

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,650 questions
{count} votes

2 answers

Sort by: Most helpful
  1. kaveh rahimi 61 Reputation points
    2021-08-23T09:47:29.277+00:00

    When I run the debugger it says 'Unable to start program: consoleapplication1.exe' and 'The system cannot find the path specified'.

    0 comments No comments

  2. WayneAKing 4,921 Reputation points
    2021-08-23T12:26:58.49+00:00

    When I run the debugger it says 'Unable to start
    program: consoleapplication1.exe'

    That message usually means that there were build errors.
    If a compile error or a link error occurs then no exe
    will be created. So naturally it can't find the program
    to start it.

    Always do a Build and check for success before trying to
    Run the program being built. Fix all errors and warnings
    from the Build and only try Run when you have a clean build.

    • Wayne
    0 comments No comments