Playing cards: Difference between revisions
Content added Content deleted
m (→{{header|Ruby}}: don't need to hard-code class variables, calculate them) |
m (→{{header|C++}}: nl ww) |
||
Line 430: | Line 430: | ||
=={{header|C++}}== |
=={{header|C++}}== |
||
{{works with|g++|4.1.2 20061115 (prerelease) (SUSE Linux)}} |
{{works with|g++|4.1.2 20061115 (prerelease) (SUSE Linux)}} |
||
Since all the functions are quite simple, they are all defined inline |
Since all the functions are quite simple, they are all defined inline |
||
<lang cpp> |
<lang cpp>#ifndef CARDS_H_INC |
||
#ifndef CARDS_H_INC |
|||
#define CARDS_H_INC |
#define CARDS_H_INC |
||
Line 524: | Line 524: | ||
} |
} |
||
#endif |
#endif</lang> |
||
</lang> |
|||
=={{header|C sharp|C#}}== |
=={{header|C sharp|C#}}== |