I was trying to write the falling letters program in C but could not figure out a way to locate a letter on the screen and make its y axis decrese every lets say 1 second?
If I use either printf or cout it print the letter in one line and then the same letter under it.

Is there any way to print the letters on screen so that it looks like that they are falling from the top of the screen?

Check out gotoxy()

Works exactly the way I wanted it to!!

thank you so much!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.