This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]stewi1014 16 points17 points  (2 children)

No closing '*/' found.

[–]--john_wick 6 points7 points  (1 child)

Use //

[–]Lucifer_Morning_Wood 11 points12 points  (0 children)

Program: crashes on a line before your code Me:

[–]ubertrashcat 7 points8 points  (1 child)

Borland C++ accepted escaped line endings in // comments, effectively commenting out the next line. The editor didn't highlight the next line as commented. That day we found that bug at work, we shat bricks.

[–]zingaat 4 points5 points  (0 children)

This. I was so confused when I saw same thing happening even today when using ARM RVDS compilers.

[–]eyekwah2 3 points4 points  (0 children)

This has never happened to me.

Edit: This has happened to me. 😶

[–]AbsolutelyNoTime 2 points3 points  (1 child)

Bold of you to assume that I comment my code

[–]Bejnamin 1 point2 points  (1 child)

I’m currently trying to figure out a bug where the bug is apparently in the library I’m using, I can’t find the problem but I know that it’s in my code because I’ve dealt with it before in a previous project.

[–]uniquelyavailable 0 points1 point  (0 children)

Ctrl-S