Welcome,
Guest
. Please
login
or
register
.
July 23, 2025, 12:21:12 PM
Home
Forum
RA2WIKI
Bot Exchange
Downloads
Search
Rules
Login
Register
gametechmods
»
Off-Topic
»
Off-Topic Discussion
»
SKBT Needs to Learn C
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: SKBT Needs to Learn C (Read 1077 times)
SKBT
Posts: 2945
Rep: 17
Awards
SKBT Needs to Learn C
«
on:
June 10, 2011, 10:00:09 AM »
This is mostly directed at at Serge and the guys who actually know what they are talking about.
As the topic says I need to learn C and have a couple of questions about it.
What are the best free tutorials or guides to learn from?
Whats the learning curve for it? I already know some basic stuff in labview but I know C is real coding not connecting flow charts together and seeing it work.
What do I need to program in it? Do I need special software to write the code in or can it be done in Notepad++
Logged
Pwnator
Posts: 6676
Rep: 15
Awards
See profile for gamer tags: Yes
Re: SKBT Needs to Learn C
«
Reply #1 on:
June 10, 2011, 10:08:32 AM »
Notepad's good enough for making C code, but Notepad++ is recommended for ease of viewing (syntax highlighting).
Also, make sure you have a C compiler (I used Cygwin, but you can get Codeblocks as a text editor with a built-in compiler).
As for guides, pretty much the first sites you encounter on Google will do.
The learning curve probably starts to get hairy once you learn pointers and pointer-to-pointers.
Logged
Clash Cubes 1
-
Grey Matter
(Runner-Up)
King of Karnage
-
Sideshow Freak
(Runner-Up, Best Engineered)
Rust In Pieces
-
Paper Cut 3
(Grand Champion, Most Dangerous Bot)
Wheely Tag Tournament
-
Ion Thruster
(Grand Champion, along with Ounces' DiSemboweLment)
UK vs USA
-
Dark Striker
(Grand Champion)
Rust In Pieces 2
-
Claymore
(Runner-Up, Favourite Bot)
BBEANS 6
-
Infection 4
(Runner-Up)
RA2 Team Championships
-
Serious Business, Skeksis
(Runner-Up, along with Scrappy, S_M, and Badnik)
RA2 Team Championships 2
-
The Other Stig
(Runner-Up, along with Scrappy, S_M, Badnik, 090901, and R1885)
Replica Wars 3
-
Abaddon
(Runner-Up, Luckiest Bot)
BroBots
-
wheebot
&
yaybot
(Runner-Up)
Robo Zone 2
-
Dipper
(4th place, Survival Champion, & Best Axle Bot)
ARBBC
-
The Covenant
(3rd place, BW Rumble Winner, Most Feared BW)
Serge
Posts: 1530
Rep: 13
Re: SKBT Needs to Learn C
«
Reply #2 on:
June 11, 2011, 04:46:55 AM »
When it comes to a programming environment, you can either chose between Microsoft's integrated Visual C++ (The Express version is free) or Cygwin / MingW. The first is a bit easier to start with as you don't have to learn the command line, but the C compiler it uses has its quirks (mainly doesn't really support C99), so you have to compile your source code with the C++ compiler (not really a big deal, just save you files as .cpp). Cygwin / MingW are two collections of GNU utilities, including a C/C++ compiler called GCC (GNU Compiler Collection). I find the latter option more powerful, but it may be a pain to get working for someone with no prior Linux command line experience. Oh, and if you do it that way you'll also need a good text editor, Notepad++ is just fine.
When it comes to tutorials, stay away from "for dummies" books. I recommend Carl H's excellent series of C (and general programming) tutorials, available for free at
http://www.highercomputingforeveryone.com/
.
C's learning curve
may
be a bit steeper than other languages, but you'll manage.
Logged
home
|
twitter
|
yt
|
gmf de/compiler
|
component freedom
| xmpp: q3k@q3k.org | email: q3k@q3k.org
Print
Pages: [
1
]
Go Up
« previous
next »
gametechmods
»
Off-Topic
»
Off-Topic Discussion
»
SKBT Needs to Learn C