How do I add a resource file to a project?

So, I am making this thing like clevorbot... (it is no AI, just LOTS of switch and if statements. It's actually pretty cool) And I have like, 300 lines of code. I tried adding a file, but the debugger will say for the second file: "#include <iostream> : No such file or directory" and then the second bug will be in my *main.cpp file (say the second file's name is "code2") and it will say: #include "code2.cpp" : no such file or directory.



Anybody know how to fix this?
Last edited on
Topic archived. No new replies allowed.