I am trying to make a basic simple game in C++ where the user constantly needs to input, and there should be constant output of other things (a moving object(*)).
Even if the user doesn’t input anything, the object must keep moving. This needs two loops to be run simultaneously which I don’t know how to do.
There is no graphics just basic symbols and letters.
You don’t need two simultaneous loops. You should have only a single loop. On each loop iteration, you will update your game’s output and then check if the user has entered any input. If he has, then you read it and process it; otherwise, you just continue with your next loop iteration. An easy way to get started it to use the _kbhit and _getch functions, but you’ll probably need to use something more advanced like ncurses or the Win32 console functions eventually.