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++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
{count} votes

2 answers

Sort by: Most helpful
  1. Sam of Simple Samples 5,581 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.


  2. WayneAKing 4,936 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

Your answer

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