I’m used to // to mark a single line comment from Java and Visual Studio and was surprised that this does not exist for Ansi-C. Using /* my comment */is quite annoying. Is there any other way to mark a single line comment when using Ansi-C?
I’m used to // to mark a single line comment from Java and Visual
Share
ANSI-C, no, but the current standard revision allows them, and has done so ever since C99.