Greetings to everybody,

I am a programming greenhorn and I would like to make a programm which will generate a number in the way that first the user will say how many digits the number should have (i.e. 10 000) and will also specify the rules for creating the number- i.e. every 0 will change to 001 and every 1 will change to 011.

(this programm will later be good for mathematical purposes to recognize some characteristics in these so-called infinite words)

As I am a just a beginner I would be very grateful for an advice about what issues of c++ programming should I first learn so I would be able to programm a programm described above, because so far I have no idea where I should start.

Thank you a lot and i hope my question makes sence.