Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

C# Running this CUNT boxes

Name: Anonymous 2013-03-15 15:49

static void PrintTableBorders (int columns, int rows, int width, int height)
{

 for (int g=1; g <= rows; g++) {

   Console.Write ("+");
   for (int I=1; I <= columns; I++) {

    for (int i=1; i <= width; i++) {
        Console.Write ("-");
    }
    Console.Write ("+");

   }
   Console.WriteLine("");

//works
   for (int I=1; I <= columns; I++) {
    for(int G=1; G<=height; G++) {
        Console.Write("|");
        for (int i=1; i <= width; i++) {
            Console.Write (" ");
        }
                   
    }
    Console.WriteLine("|");
      }
  }
Console.Write ("+");
  for (int I=1; I <= columns; I++) {
               
    for (int i=1; i <= width; i++) {
          Console.Write ("-");
    }
    Console.Write ("+");
    }


}

Name: Anonymous 2013-03-15 15:55

//works
for (int I=1; I <= columns; I++) {
    for(int G=1; G<=height; G++) {   
             Console.Write("|");
         for (int i=1; i <= width; i++) {                Console.Write (" ");
        }
                                 }
        Console.WriteLine("|");            }

            }
            Console.Write ("+");
            for (int I=1; I <= columns; I++) {
               
                for (int i=1; i <= width; i++) {
                    Console.Write ("-");
                }
                Console.Write ("+");
            }


        }

Name: Anonymous 2013-03-15 16:04

Try using LISP instead.

Name: Anonymous 2013-03-15 21:48

maybe if you initialized a null string and used += like a normal person, you'd be able to visual this better

Name: Anonymous 2013-03-15 21:50

also why the fuck are your brackets on the same line as the for loop? WHY ARE YOU USING BRACKETS ON ONE LINE LOOPS? WHY ARE YOUR ROWS USED LIKE COLOUMNS?

Name: Anonymous 2013-03-15 21:52

i cant read this anymore. what the hell are you trying to do?

Name: Anonymous 2013-03-15 21:53

>>5
WHY ARE YOU USING BRACKETS ON ONE LINE LOOPS?
Seriously, nigger? Go use FIOC.

Don't change these.
Name: Email:
Entire Thread Thread List