User profile: coder777

User info
User name:coder777
History
Joined:
Number of posts:8431
Latest posts:

Help with text-based fighting game health bar
You need to move line 56/57 before line 45. But since line 57 is always the maximum damage the play...

literal for one day
@George P day (of month) exists but day[b]s[/b] (duration) does not exist [i]as literal[/i].

literal for one day
A std literal for days does not exists. See this: https://en.cppreference.com/w/cpp/chrono/duration...

Factory Class Pattern
Normally a factory is used to create objects of derived classes/types according to some input. But s...

Wait for stdout completed (C)
Try _flushall() to flush the c stream under windows: https://learn.microsoft.com/en-us/cpp/c-runtim...