Timeline for Program that removes comments from C and C++ programs
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 22, 2016 at 9:56 | comment | added | machine_1 | Interesting to know that a backslash escapes a new line even inside a comment. I'll deal with this in my code. | |
Aug 22, 2016 at 2:18 | comment | added | Abhinav Gauniyal | another thing I would recommend, although it's more of a style review, to not use ALL_CAPS variables unless requried. They seem to scream to look at their definitions since they might be something special or a hack. | |
Aug 21, 2016 at 22:46 | comment | added | ilkkachu |
You can put quotes inside quotes by escaping them, yes. But it doesn't result in nesting in the same way parentheses nest. "'" is valid even though there is no "ending" single-quote, and so is "\'" .
|
|
Aug 21, 2016 at 22:26 | comment | added | machine_1 | You can nest a quote by escaping. | |
Aug 21, 2016 at 22:10 | history | answered | ilkkachu | CC BY-SA 3.0 |