here are the original rules
dr_spitfire, on 9 Sep, 2009 - 11:32 AM, said:
anyways here's the rules of the game...
Every post you can add one line.
What counts as a single line:
Assigning or manipulating a value to a variable ("int thisVariable;" doesn't count "int thisVariable=1;" does as does "thisVariable++;")
Making a function... return line comes free with non-voids ("float ThisFunction(param 1,param 2){ float param3; return param3;}" would work)
making a loop (including all 3 parts of the for loop) you can either put this around existing code, or leave it empty for someone else to put something in
an if statement! (just like a loop leave it empty or surround existing code)
any input output calculation etc. simple lines...
a void function call...
Define
if I forgot something ask and I'll make a judgement call...
you can add any includes you need free of charge... your program with the new line MUST compile
you can add your line anywhere in the code if it will still compile you are allowed to comment your line so people will understand it... (or more likely just to mess with people)
no removing or changing someone else's lines unless it won't compile as they wrote it.
Every post you can add one line.
What counts as a single line:
Assigning or manipulating a value to a variable ("int thisVariable;" doesn't count "int thisVariable=1;" does as does "thisVariable++;")
Making a function... return line comes free with non-voids ("float ThisFunction(param 1,param 2){ float param3; return param3;}" would work)
making a loop (including all 3 parts of the for loop) you can either put this around existing code, or leave it empty for someone else to put something in
an if statement! (just like a loop leave it empty or surround existing code)
any input output calculation etc. simple lines...
a void function call...
Define
if I forgot something ask and I'll make a judgement call...
you can add any includes you need free of charge... your program with the new line MUST compile
you can add your line anywhere in the code if it will still compile you are allowed to comment your line so people will understand it... (or more likely just to mess with people)
no removing or changing someone else's lines unless it won't compile as they wrote it.
the rules are the same just the code is just adapted to C#
Have Fun!!!!
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Program
{
class Program
{
static void Main(string[] args)
{
}
}
}

New Topic/Question


MultiQuote




|