1 Discussion / Question Topic

Remove Filter
Member Avatar for m4ster_r0shi

I have two code snippets that involve recursive manipulation of std::strings. [B]code snippet 1[/B] [CODE]#include <iostream> #include <string> void print_stuff(int min_n, int max_n) { struct local { static void build_stuff( int min_n, int max_n, int cur_n, int cur_c, int max_c, bool inc, std::string & ret) { if (cur_c == max_c) …

Member Avatar for m4ster_r0shi
0
247

The End.