Use a base! Find other peoples sources for bf2 and learn from them (the games are almost the same; only difference: the classes)
If you do not know how to code well I would suggest learning how to or you will fail and get frustrated (learned that from experience). I would use websites that do not involve hacking like what i found by Google-ing C++ tutorial