系统(“ CLS”)在虚拟Windows机器上是否可以正常工作?

I have to submit a C++ project for marking soon, and I call system("cls") to clear the console a few times in my code. I know there are better methods but I just went for the easiest option.

As far as I am aware, system("cls") only works in Windows. The person who is going to mark my code will be using a virtual Windows machine in a computer with Mac. I have never used a virtual machine and I don't know much about them so I just want to make sure my code will run fine.