Code::Blocks Forums
User forums => Help => Topic started 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
-
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
-
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
-
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
-
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.
-
Thanks Drew !
-
Sorry I still cannot follow anything.
(This is one of several options you have)
- Press Shift+Ctrl+N to create a new file
- Press Ctrl+S to save it
- Name the file helloworld.c
-
File -> New -> Project -> Console application -> Follow the steps as requested and select C application.
-
Thanks now I didn't have to ask the same dumb question....
Expect to see more of me every day I can....