Author Topic: Help please?  (Read 2347 times)

Offline hirdy

  • Single posting newcomer
  • *
  • Posts: 5
Help please?
« 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

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: Help please?
« Reply #1 on: December 01, 2011, 02:37:57 am »
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.