.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Programming (http://forums.bots-united.com/forumdisplay.php?f=25)
-   -   HOw tO StARt pRoGraMiNG ?? (http://forums.bots-united.com/showthread.php?t=4553)

lennex 05-10-2005 10:54

HOw tO StARt pRoGraMiNG ??
 
can someone provide a step-by-step guilde on creating a bot.
i got 0 knowledge on creating a bot..

1st problem ----- how to start programming?
2nd problem ----- what software is the best to use?

Please help me out!!!

Whistler 06-10-2005 03:52

Re: HOw tO StARt pRoGraMiNG ??
 
1 - First buy a C/C++ book and read it. Then try writing some small programs, and move to bigger programs if you succeed. You'll learn programming if you try hard.

2 - GCC plus Dev-C++ (if you are using MS platform) or Anjuta (if you are using GNU/Linux). Google it for downloads. I don't recommend MSVC because that tends to encourage warez :P

Pierre-Marie Baty 06-10-2005 10:07

Re: HOw tO StARt pRoGraMiNG ??
 
AlSo, C++ bEiNg A sTrOnG-tYpEd LaNgUaGe, YoUr PrOgRaMs WoN't WoRk If YoU wRiTe ThEm In SuCh A hOrRiBlE fAsHiOn.

Luckily I'm not strong-typed myself, but write clearly please...

Rick 06-10-2005 22:14

Re: HOw tO StARt pRoGraMiNG ??
 
Quote:

Anjuta (if you are using GNU/Linux).
Even better: KDevelop :)

If you need lots of coding examples: www.koders.com

Whistler 07-10-2005 03:18

Re: HOw tO StARt pRoGraMiNG ??
 
well I'm actually using KDevelop but I think it does not work well for single-file small C programs :P

lennex 07-10-2005 06:38

Re: HOw tO StARt pRoGraMiNG ??
 
what should i learn C first?
or C++?
which one better on creating a game bot?

The Storm 07-10-2005 09:23

Re: HOw tO StARt pRoGraMiNG ??
 
Quote:

Originally Posted by lennex
what should i learn C first?
or C++?
which one better on creating a game bot?

You can start directly with C++. Actually C is the base of C++. If you know C you will need to learn very small to become a C++ coder. However you can start directly with C++. To create a bot for the HL engine it is better to know C++ but you can code the bot with a clean C as well but it will be maybe more messed.

EDIT: If you don't want to give a money for a book to learn C/C++ you can use the free internet tutorials. Here you are two links:
http://www.cplusplus.com/
http://www.cprogramming.com/

EDIT 2:
Quote:

Originally Posted by Rick
Even better: KDevelop :)

Is there a KDevelop for Windows? I want to try it.

cld 07-10-2005 14:21

Re: HOw tO StARt pRoGraMiNG ??
 
I think C isn't base of C++. There are different languages.

Rick 07-10-2005 14:46

Re: HOw tO StARt pRoGraMiNG ??
 
Quote:

Is there a KDevelop for Windows? I want to try it.
Nope, but I think its on the knoppix live cd.

Whistler 08-10-2005 04:04

Re: HOw tO StARt pRoGraMiNG ??
 
you can actually use Cygwin to run KDE.
http://www.cygwin.com
http://kde-cygwin.sf.net

however this is actually more difficult than a genuine GNU/Linux system and it's also _much_ slower.

also the Knoppix 4.0.2 version doesn't have KDevelop.


All times are GMT +2. The time now is 18:21.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.