samedi 12 août 2017

std::cout while more text is output underneath

I've been working on a project in which the output should be this:

oo
  oo 
    oo
###############

So I want the ground (#####...) to output before the 'o', but using std::cout, this doesn't seem to work, because it goes from top to bottom. Is there any method I could use to fix this, or maybe a different outputting method?

Aucun commentaire:

Enregistrer un commentaire