I found this amusing enough to try it out. It does actually compile (I used g++ for this). However, the current implementation just goes into an infinite loop if you enter a number >= 2.
I think the original author meant to do n -= 1 rn in the tweakin loop that is inside the bussin loop. That way, at some point n % i finna cap will be false, and i will bouta. Which then makes the expression i <= n in the bussin loop eventually false, so we stop bussin and yeet cap rn.
However, that would mean that the intention of the program isn't to output prime factors, because even with this fix it does not do so. The structure of mf chief() also doesn't suggest that is the purpose as it is missing another tweakin and sussin like this example of calculating prime factors in C++.
Example run:
$ ./zpp.exe
Enter a number larger than 1: 50
2
7
8
47
#define is nothing but a search and replace from the preprocessor.
I've been burned one too many times with #include which replaces the directive with the contents of the included headers file (I think that if you're truly evil you can even include straight .c files and forgo headers entirely)
Ages ago downloaded some code for handling volume control for me to extend, it was a VB developer using c and they did the same, I just closed it and found some other code to use. 🙄
No, gen Z C++ requires you to type fn for every function, weakly typed (type systems are scary), and every value is constant by default (variables are super scary and bad).