?

Log in

 
 
17 April 2007 @ 01:12 am
starfish.cpp  
#include <stdknitting.h>
#include <string.h>

int Main() {

new knitproj(starfish);
int castonnum = 10;

starfish.Caston("provisional", castonnum);

for (int x=5;x>=0;x--){
for (int x=castonnum;x>=0;x--) {
starfish.knit(x);
starfish.Turn();
starfish.Purl(x);
}
}

starfish.kitchener(starfish.get_stitchHolder(0),starfish.get_needle(0));

starfish.block();

Return 0;
}
Tags:
 
 
Mood: lj ruined my autotabs
 
 
 
Nathanyfel on April 17th, 2007 03:20 pm (UTC)
Cute. If you put a <pre> tag (e.g. "preformatted") around it all, it will show up with your tabs/spaces preserved and in a fixed-width font.
    for (int x=5;x>=0;x--){
        for (int x=castonnum;x>=0;x--) {
            starfish.knit(x);
            starfish.Turn();
            starfish.Purl(x);
        }
    }