-
Notifications
You must be signed in to change notification settings - Fork 0
/
Comments_Colours.cpp
56 lines (46 loc) · 1.17 KB
/
Comments_Colours.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// this is my comments style example
// for todotree and bettercomment extensions combination
// for vscode. i see them colored and if i mark any line like "// Todo"
// i can see it in a list on todotree tree menu.
#include <iostream>
#include <limits>
using namespace std;
int main()
{
// Extension: Todo Tree (Gruntfuggly)
// Extension: Better Comments (Aaron Bond)
// Simple comment
// * Highlight comment
// ! Alert comment
// ? Question mark
/*
Simple multiline comment
* Highlight comment
? Question mark
! Alert comment
*/
/**
* Simple multiline comment
* * Highlight comment
* ? Question mark
* ! Alert comment
*/
// Todo
// Bug
// Mark
// Check
// Done
// [ ] todo: some entry
// [x] Done: We already have done that
// - [ ] todo: some list entry
// ! [ ] BUG: important things
// ? [ ] MARK: still todo?
// ? [x] CHECK: should be fixed but check once more
// - [x] DONE: We already have done that
// TODO multiline example
// second line
// third line
cin.clear();
cin.ignore(numeric_limits<streamsize>::max(), '\n');
cin.get();
}