All pastes #981299 Raw Edit

Mine

public c v1 · immutable
·published 2008-04-11 18:09 UTC
rendered paste body
typedef struct {char *name; int min_arg; int max_arg; char type; char *encoding;} Instruction;Instruction *createInstruction(char *line){        Instruction *x = (Instruction *)malloc(sizeof(Instruction));        return x;}char buff[100];Table *maketable(FILE *input) {while (fscanf(input, "%s", buff) != EOF) {                Instruction *foo = createinstruction(&buff); // This is line 173                addtotable(mytable, foo);	}}