atlas  0.6
Functions
lights-off.cpp File Reference
#include <vector>
#include <iostream>
#include <sstream>
#include <cctype>
#include <cstring>
#include <cstdlib>
#include "mod2_system.h"
#include "bitmap.h"
Include dependency graph for lights-off.cpp:

Functions

std::vector< unsigned long > neighbours (unsigned int a, unsigned int b)
 
bool off (const BitMap &lights, bool full)
 
int main (int argc, char **argv)
 

Function Documentation

int main ( int  argc,
char **  argv 
)
std::vector<unsigned long> neighbours ( unsigned int  a,
unsigned int  b 
)
bool off ( const BitMap lights,
bool  full 
)