First commit of partial RosettaCode contents.

Pushing this for testing purposes. Lots of work still needed.
This commit is contained in:
Ingy döt Net 2013-04-08 13:02:41 -07:00
commit 1e05ecd7ee
781 changed files with 9080 additions and 0 deletions

View file

@ -0,0 +1,2 @@
struct charisma {};
void f(char/* comment */isma) {}

View file

@ -0,0 +1 @@
/* some comment /* trying to nest some other comment */ inside */

View file

@ -0,0 +1,3 @@
#if 0
While technically not a comment, this is also ignored by the compiler
#endif

View file

@ -0,0 +1,7 @@
#ifdef UNDEFINED
This is not compiled.
#if 0
Nor is this.
#endif
And this still is not compiled.
#endif

View file

@ -0,0 +1,3 @@
#if 0
This isn't valid.
#endif

View file

@ -0,0 +1 @@
// C++ single-line comments were adopted in the C99 standard.

View file

@ -0,0 +1,4 @@
/* This is a comment. */
/* So is this
multiline comment.
*/