News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Help please?

Started by hirdy, December 01, 2011, 02:10:54 AM

Previous topic - Next topic

hirdy

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

Alpha

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.