Search found 1 match

by billwang
Tue Oct 19, 2004 7:01 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 109826

101 What is Runtime Error (SIGSEGV )

My source file(CPP):
[cpp]code
include <stdio.h>
#define MaxB 100

typedef struct block {
int name;
struct block *below;
struct block *above;
} block;

block blocks[MaxB];
block *table[MaxB];
int NumBlocks;

void InitBlock()
{
for (int i=0;i<NumBlocks;i++){
blocks .name=i;
blocks .below ...

Go to advanced search