Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

C complete tutorial-Part One(Introdution)

2pi

Initiate Mage
Joined
Oct 30, 2009
Messages
40
Reaction score
2
Programing Languages,go and comeback,but c always is in the same position,you can make everything using c,example:Ok,connect the your computer,use you windows?Did you know what he's coded in c?Ok,but let's go listen music,Windows Media Player?C,Real Player Classic?C,ok now let's go see the ragezone posts:Do you use Mozilla Firefox? or Internet Explorer?Not intersted the two're coded in c.Ie do you want learn another language?

C programs organizations:
A c program use functions(divisions in the code that make tasks)
C program example:
Code:
      #include <stdio.h>
      int main(void) //Main Function
      {
      printf("ragezone Forum");//Function task
      return 0;//Return value
      }
Now i'll explain the commands on that code:
#include <stdio.h>-Include,that's a compulsory line(after i say more about thist)
printf("ragezone Forum");-That line "print" a text on the screen your model's so: printf("text");
//-That's the comentaries,when the code is copiled they're ignored

Now the program for create the yours programs:
LCC WIN32-He's a great IDE and you just need it to code the your programs:

That's all,after i'll show how to make Windows Programs.

Until the Next Guys!:thumbup:

Ps.:If you like this tutorial thanks please:rolleyes:
 
Joined
Jul 26, 2006
Messages
3,634
Reaction score
1,007
Please use proper grammar and punctuation to make it more readable >.> I'm assuming English is your second (or even further) language but so is mine...

Also use indentation on your code, it makes it 100% more readable. Also, aren't FireFox and IE and stuff made with C++? Forgive me if I'm wrong.

I hope to see more tutorials of you, though!
 
Last edited:

2pi

Initiate Mage
Joined
Oct 30, 2009
Messages
40
Reaction score
2
Cotinuation:
Ok now we will make our first program!
I thik everybody already download the Lcc Win***so let's go:

Creating a new project
1.Open the lcc win32
2.Click in project-create-now insert in the field Name of The project:First_Program(Realy you can insert any name,but insert this :))
3.Click in [Browse]and chage the directory lcc-projects and click ok
4.In type of project change Console Aplication
5.Now click in create
6.In the menssage box:"Do you want to use the wizard to generate the application skeleton?"click no
7.On the window "Add source files to project" write first_program1.c
8.Click in the first_program1.c and click in open
9.Now'll showed the Copliler Settings;Click in Next until
10.Now know the edition screen(the best friend of a coder)

Now delete anything what's in the edition screen and paste this:
Code:
 #include <stdio.h>
      int main(void) //Main Function
      {
      printf("ragezone Forum");//Function task
      return 0;//Return value
      }
Now press F9,wait a little(4 seconds in my pc),and press CTRL+F5,And see,your first prgram!

2pi observations:
That seems no a big program like,m firefox or windows,but that'sthe start,remember this "That's Just the start".

Next Tutorial:The first window!:w00t:

Good Luck and good code.:thumbup1:

2pi:thumbup:

Ps.:Elite GM-Sorry for my bad english,i'll correct after,and the Mozilla Firefox,he coded in c++,but remember c++'s just a c melhoration,but thanks for the critics
One doubt:Is my tutorial ipossible of read?
 
Last edited by a moderator:
Back
Top