我写了一些由很长的行组成的代码,例如:
player player_1(cameraPos, cameraUp, &enemy_1, window, &cameraPos); // player object created after the enemy object as the enemy is taken as an argument to the player constructor.
这行代码全部都在一行上,包括注释,我需要将它放在单词文档中,但是我不知道该如何适应它。最好是我可以像在上面那样添加允许我创建一个像stackoverflow这样的滚动器,但是我不知道如何。还有其他人知道吗?