/* File : example.h -- stolen from the guile std_vector example */ #include #include #include #include #include using std::string; void vec_write(std::vector v) { int n = 0; for( std::vector::iterator i = v.begin(); i != v.end(); i++ ) printf( "%04d: %s\n", ++n, i->c_str() ); }