OK, so, I don't have much experience in C++, this is some practice code i typed up and i would like to know if there is anything that could be improved?
Not bad, seems to work OK and is pretty much self-documenting. Possibly put a couple of comments in as shown and maybe a starting comment overview with revison dates would be good for later reminder/maintenance.
Use whitespace to make reading easier. Typo!
:)
PS Logic of username and password should be combined with &&, not separate interior if.
Is there a limit in how much a code can be improved? :-)
If you asked that question ten times, you would receive ten different hints.
An other thing you could do would be to declare your variables just when you are about to use them. There are many advantages, one of which is that they could be automatically destroyed when they are no more of any use.
For example: