42

When Visual Studio won't tell you where did you forget to put the ";"...

Comments
  • 4
    Doesn't VS always tell you where? Usually you can just double click the error message and jump straight to the line of code...or?
  • 1
    @Hultan70 Happened to me in C++. It just kept saying "; expected" but when I double clicked it didn't take me where it was missing. I called a friend to help me and everything, finally it was at the end of one of the file where I made some modifications. Lost 30mins of my life :(
  • 1
    Aah, I don't think that have happened to me, but I mostly code in C#...
  • 2
    @Hultan70 Never happened to me in C# too. Only in C++, it was a .h file. Saddest moment of my life when I had to search every file where it was missing :(
  • 7
    C++ structure is a lot more flexible so it is not always clear where the ; should be, just that at some place it realizes tjat there should have been one.
  • 1
    @Voxera Exactly ! :D
Add Comment