Search found 1 match

by Deiphos
Thu Jun 29, 2006 5:22 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 110415

Problem 101 RE

This is my code


#include <iostream>
#include <string>

using namespace std;

struct boxes {
int pile;
int place;
};

struct piles {
int pileSize;
};

int count = 0;
piles *myPiles;

void initBoxes(boxes *boxvar) {
int i;
for (i = 0; i < count; i++) {
boxvar[i].pile = i;
boxvar[i].place = 1 ...

Go to advanced search