animated characters

hello ive created stairs and im braindead now because i need a character to move up the stairs on its own using stopwatch and im clueless

how can this be achieved ? below is my current code:
#include<iostream>
#include"110ct.h"
#include<string>

using namespace std;

int main()
{
CursorController crs;

int Number;// the number of stairs
int Amount = 1; // this is the amount of x it will add to the line

cout << "Enter in how many 'stairs' you want" << endl;
cin >> Number;

for(int i = 0; i < Number; i++)
{
for(int j = 0; j < Amount; j++)
{
cout << "X";//the charater for the stair
}

cout << endl;
Amount +=1; //Adds 1 'X' after every new line
}



cin.get();

return 0;
}
Topic archived. No new replies allowed.