umm hi Im making a text RPG with C++ and i have a number of problems (im doing this for learning purposes btw);
ive made this main screen which displays a box for the game text to appear in but i cant do it with out disrupting the whole box. the text has to be updated frequently
i was thinkin iomanip but i think i will have the same problem
in the places where it says spells or wepon they will call to the struct for that wepon or spell each time the main interface is updated
well take a look i apreciate all suggestions thanx:
Code:#include <iostream.h> const char NL = '\n'; int main(int argc, char* argv[]) { cout << NL; cout << "Player name goes here\t\t\t\t\t\tcurrent wepon" << NL; cout << " \t\t\t\t\t\tcurrent spell"; cout << NL << NL << NL << NL << NL; cout << "\t\t"; for (int i = 0;i<50;i++) cout << "*"; cout << endl << "\t\t"; for (int j = 0;j<10;j++) cout << "*" << " " << "*" << endl << "\t\t"; for (int q = 0;q<50;q++) cout << "*"; cout << NL << NL << NL << NL; cout << "\tYour current life is:" << "****************************************" << NL; //will call to apropriate struct for correct # of stars cout << "\tYour current mana is:" << "****************************************" << NL; return 0; }