I wanted to know if there's a simple way to constantly have a status bar constantly displaying at the bottom of the console window. I want it to display some useful information such as hitpoints, and character status (low health, poisoned, etc). http://i.imgur.com/RBJ0D.png
sorry if the question isn't very clear enough or is too amateur.
Just make sure you don't declare the a variable in your main() function, but before both functions, and declare your main function after the new functions.
You don't. If you need this kind of behavior it is time to move away from the console. The console is not meant for these types of things. You will be pulling your hair out working with games in the console, while you could be drinking lemonade selling your windowed game ;)
If you plan on using at least a couple days, you can start creating windowed games. This project took me a week, around 8 days: http://localhostr.com/file/yg4Tcvz/BattleTanks.rar
(First create a map, in the editor press H for commands)
(There are 2 main layers: Front and Back. Front overrides tanks, Back is behind them)
you can still do it. With my class (link at 1st post) you can use console->write and console->setpositiontext that will be useful for position-based text.
I honestly have no understanding of your class :s
I'm taking classes at my highschool, so not neccesarily learning a ton of useful stuff, just basics:
(all using namespace std;)
loops (sentinel, flag, do, for, while, counter)
if/nested if statements
switch()
all variable types
type casting
some work with conio (coloring text for ascii art)
Throughout the year we work on small programs everyday. stuff like calculating remainder using mod and putting it to 'practical' use (buying pizzas and cartons of eggs).
Today we worked on a slot machine program that rolls 3 random numbers (1-3) and tests them using an if statement and rewards tokens using a counter.
But we haven't gotten really deep so I can't really understand what your class's use is :/