Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: hirdy on December 01, 2011, 02:10:54 am
-
hi,
I'm a uni student doing physics and need to practice programming in C over the holidays so downloaded the Code blocks
the very first thing I'm trying to do is
#include <stdio.h>
#include <stdlib.h>
as i thought that's what i need to use but i get an error?
can someone just walk though how to start writing it?
I clicked on create empty project if that means anything?
Thank you
-
Creating a new project (http://wiki.codeblocks.org/index.php?title=Creating_a_new_project) (It uses C++, but the point of that tutorial is how to setup a project, not how to program, so just ignore the C++ specific options/code.)
If you are still having problems setting up a project, post (in code tags) the exact error you received.
If your problem is with the code itself (syntax errors), pull out your notes/book on C, or try reading something like A Little C Primer (http://en.wikibooks.org/wiki/A_Little_C_Primer).