First commit of partial RosettaCode contents.
Pushing this for testing purposes. Lots of work still needed.
This commit is contained in:
commit
1e05ecd7ee
781 changed files with 9080 additions and 0 deletions
2
Task/Comments/C/comments-2.c
Normal file
2
Task/Comments/C/comments-2.c
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
struct charisma {};
|
||||
void f(char/* comment */isma) {}
|
||||
1
Task/Comments/C/comments-3.c
Normal file
1
Task/Comments/C/comments-3.c
Normal file
|
|
@ -0,0 +1 @@
|
|||
/* some comment /* trying to nest some other comment */ inside */
|
||||
3
Task/Comments/C/comments-4.c
Normal file
3
Task/Comments/C/comments-4.c
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#if 0
|
||||
While technically not a comment, this is also ignored by the compiler
|
||||
#endif
|
||||
7
Task/Comments/C/comments-5.c
Normal file
7
Task/Comments/C/comments-5.c
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#ifdef UNDEFINED
|
||||
This is not compiled.
|
||||
#if 0
|
||||
Nor is this.
|
||||
#endif
|
||||
And this still is not compiled.
|
||||
#endif
|
||||
3
Task/Comments/C/comments-6.c
Normal file
3
Task/Comments/C/comments-6.c
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#if 0
|
||||
This isn't valid.
|
||||
#endif
|
||||
1
Task/Comments/C/comments-7.c
Normal file
1
Task/Comments/C/comments-7.c
Normal file
|
|
@ -0,0 +1 @@
|
|||
// C++ single-line comments were adopted in the C99 standard.
|
||||
4
Task/Comments/C/comments.c
Normal file
4
Task/Comments/C/comments.c
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
/* This is a comment. */
|
||||
/* So is this
|
||||
multiline comment.
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue