Search found 2 matches

by Atkins
Sat Sep 08, 2012 10:03 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 110361

101 , Code in C++, Runtime error

my code
#include <iostream>
#include <vector>

class Block {
public:
Block(int n);
int number;
Block * next;
};

class Block_world {
public:
Block_world(int n);
std::vector<Block*> world;
void print();
Block * search(int const num);
int search_pile(int const num);
void null_pre(int const ...
by Atkins
Sat Sep 08, 2012 8:23 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 110361

101 , Code in C++, Runtime error

my code
#include <iostream>
#include <vector>

class Block {
public:
Block(int n);
int number;
Block * next;
};

class Block_world {
public:
Block_world(int n);
std::vector<Block*> world;
void print();
Block * search(int const num);
int search_pile(int const num);
void null_pre(int const ...

Go to advanced search