C1075 error

kaveh rahimi 66 Reputation points
2021-09-22T22:28:24.023+00:00

Hi , I'm noob in 'c++' I debug my code and receive 'C1075' error. '{': no matching token found. I've used an anonymous namespace. I don't know why I receive this error.
Please help me.
Thanks

Developer technologies | C++
{count} votes

2 answers

Sort by: Most helpful
  1. WayneAKing 4,931 Reputation points
    2021-09-22T23:35:13.463+00:00

    I don't know why I receive this error.

    Fatal Error C1075

    https://learn.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/fatal-error-c1075?view=msvc-160

    "the left token was unmatched at the end of the file
    The compiler expected matching token before it reached the end of file.
    This error can be caused by an unmatched bracket,
    brace, or other paired character."

    • Wayne
    0 comments No comments

  2. Sam of Simple Samples 5,546 Reputation points
    2021-09-23T04:53:14.88+00:00

    We do not know if the { is an extra one or if you are missing an ending }; that is why showing the relevant code would help. You can try deleting (or commenting out) the { but if the problem is that you instead need a } then it will be difficult to help you without seeing the code.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.