Code::Blocks Source File Help

I'm reading an SDL Tutorial to learn to make games in C++.
The tutorial had me download SDL and do a bunch of other stuff, which I did.
However, now it is telling me to add a source file with specific code in it, but I don't know how to add a source file.
Can someone help me?

I am not sure if this is what you wanted but for codeblocks you have to go to File > New > Projects. This will create a project which will provide you with a main.cpp source file and you can add more in the project.
Topic archived. No new replies allowed.