Hey im new to C++ and im learning it but i was woundering how i can make my own private Virus and give it to a u i hate so badly is there really a any method of doing this in C++?

I dont wanna infect him like really really bad just like make his computer slower and stuff or get a trojan on his comp so i can go through his stuff.

Anyone wanna help me out with this?