Ok, linker errors are where you have declared the function and called it, byt not set anything to it. For example, in your riot.dll, you have "class botInfo { void getInGame(); }", and you also call it somewhere. However, you do not have any "void botInfo::getInGame(){..}" in any of the .cpp files. To fix my code, rename Rand() ro rand(), and rename the int rand to int randnum; In the future, 29 gay errors is not helpful. Try pasting the errors, and the line of the error (some cases prededing line) EDIT: Just a second passing glance shows me this: I think that that break; is invalid, your not inside a switch. true return;. Also, it looks like youre missin a } in the for loop.