Code::Blocks Forums

User forums => Help => Topic started by: anthony_code on September 11, 2008, 08:20:30 pm

Title: getting started
Post by: anthony_code on September 11, 2008, 08:20:30 pm
hi everyone. i just downloaded from the site so i can start coding in C. What is the set-up so i can start coding. i cannot find the place where i can start typing the code. i cannot find it in the documentation either. what is the set-up or procedure so i can start coding. i don't need anything special, i am the only user. i just want to write the code i have, compile it and run it. where is the place to write the code? are there any easire and less-graphic-intense compilers to build my code in? thanks a lot.

anthony
Title: Re: getting started
Post by: DrewBoo on September 11, 2008, 11:27:04 pm
Hi, Anthony.

You can create a new file from File->New at the top menu.

If your file is saved with a name ending in .c you can find all you need through the Build menu.

If the file ends in .cpp it will be treated as C++ instead of C
Title: Re: getting started
Post by: anthony_code on September 11, 2008, 11:51:51 pm
Thanks you so much, hope I was not negative in the post. Do you think I would benefit from a simpler compiler. I am NOT going to code in C++. Is there anything else I should know before I start writing any code, in order to avoid bugs or other errors? Embarrasingly I found the documentation hard to read.

Anthony
Title: Re: getting started
Post by: anthony_code on September 12, 2008, 12:09:46 am
Sorry I still cannot follow anything. If I go to the top and select file new, a window pops up with the options: Project; Build Target; File;

Custom; From User Template. Which one do I select? If  I select file then the options are: c/c++ header; c/++ source; empty file. Is

there any source documentation on how to-set-up and start programming. Thank a lot

Anthony
Title: Re: getting started
Post by: DrewBoo on September 12, 2008, 12:15:48 am
Find an online forum for C programming that's particularly friendly to beginners.  I don't have one to recommend, so Google should probably be your first stop.

Then you can experiment on your own and hit up that forum when you're stuck.

This forum is specifically about using the tool Code::Blocks, so you're not going to get useful help when you run into questions about programming in a particular language.


Good luck, Anthony.
Title: Re: getting started
Post by: anthony_code on September 12, 2008, 12:23:06 am
Thanks Drew !
Title: Re: getting started
Post by: DrewBoo on September 12, 2008, 01:25:58 am
Sorry I still cannot follow anything.

(This is one of several options you have)

Title: Re: getting started
Post by: MortenMacFly on September 12, 2008, 08:55:31 am
File -> New -> Project -> Console application -> Follow the steps as requested and select C application.
Title: Re: getting started
Post by: froglipz on September 13, 2008, 12:28:50 pm
Thanks now I didn't have to ask the same dumb question....

Expect to see more of me every day I can....