![]() |
![]() OCAU News - Wiki - QuickLinks - Pix - Sponsors |
|
|||||||
| Notices |
|
Sign up for a free OCAU account and this ad will go away! Search our forums with Google: |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Member
Join Date: Mar 2007
Location: BNE
Posts: 6,335
|
Hey part of my course atm is based around C, but no tutorials are given on the language (e.g. here's problem, solve).
I've been googling around a bit trying to find a good tutorial but haven't had much luck yet, has someone found a good tutorial they'd be able to share? Thanks! |
|
|
|
| Join OCAU to remove this ad! |
|
|
#2 |
|
Member
Join Date: Jul 2001
Location: Sydney
Posts: 8,872
|
I don't know about online tutorials, but here's the books an experienced C programmer gave me when I asked them about learning C language...
(1) A Book on C: Programming in C By Kelley and Pohl (2) The C Programming Language By Brian W. Kernighan And Dennis M. Ritchie (3) C - Traps and Pitfalls by Koenig
__________________
"Haters gonna hate." => "I have no logical rebuttal to your criticism so I'm going to say something simple and meaningless to make myself feel better."-crabjokeman from Techreport.com forums. "The politicians don’t just want your money. They want your soul. They want you to be worn down by taxes until you are dependent and helpless."-James Dale Davidson. |
|
|
|
|
|
#3 |
|
Member
Join Date: Mar 2007
Location: BNE
Posts: 6,335
|
Cool I found #2, appreciate the help
|
|
|
|
|
|
#4 |
|
Member
Join Date: Jan 2002
Location: Sleepwithyourdadelaide
Posts: 23,641
|
The best way to learn is to just start coding a program, when you get stuck google away. You will probably end up re doing the program 5 times as you will learn more and more and realise how bad some of your previous techniques were, but this is the best way to learn, practice.
Pick a project like a graphical calculator that stores a log of all calcs made in a text file. Start by making the GUI, then the back end, then the code to write a log file. Google everything you get stuck on, you will learn very quickly this way. Having a good reference book is always handy, though I will leave that up to the others as I don't know any good names off the top of my head.
__________________
I like to construct strong views on random things, and then argue for absolutely no reason about them. |
|
|
|
|
|
#5 | |
|
Member
Join Date: Mar 2007
Location: BNE
Posts: 6,335
|
Quote:
|
|
|
|
|
|
|
#6 |
|
Member
Join Date: Apr 2008
Location: Melbourne
Posts: 1,984
|
do people really still program in C? (and i mean pure C not some dialect of C) dont mean to threadcrap just genuinely interested
|
|
|
|
|
|
#7 | |
|
Member
Join Date: Jan 2002
Location: Sleepwithyourdadelaide
Posts: 23,641
|
Quote:
sooo many things are coded in C still, basically every single microprocessor on the earth uses C, most kernel, driver etc programmers also use C.
__________________
I like to construct strong views on random things, and then argue for absolutely no reason about them. |
|
|
|
|
|
|
#8 | |
|
Member
Join Date: Nov 2004
Location: Brisbane
Posts: 7,804
|
Quote:
__________________
2004 Clio 182 1991 205 GTI |
|
|
|
|
|
|
#9 |
|
Member
Join Date: Apr 2008
Location: Melbourne
Posts: 1,984
|
hmm i suppose, i mean i kinda expected to see it in program that are very close to the hardware like drivers and kernels.. (afterall c was created to rewrite unix) i just find it too troublesome to use for most desktop applications... maybe im just too dumb to use it XD
|
|
|
|
|
|
#10 | |
|
Member
Join Date: Jan 2002
Location: Sleepwithyourdadelaide
Posts: 23,641
|
Quote:
__________________
I like to construct strong views on random things, and then argue for absolutely no reason about them. |
|
|
|
|
|
|
#11 |
|
Member
Join Date: Feb 2007
Location: Adelaide
Posts: 221
|
Plenty of desktop apps on Linux use it (nearly everything using GTK/Gnome etc).
|
|
|
|
|
|
#12 |
|
Member
Join Date: Apr 2008
Location: Melbourne
Posts: 1,984
|
yeh i suppose its becoming like assembly in the yee olde days yes u can get slight performance gain if you're epic at C but it comes down to risk/reward of it.. and its probably better using a higher level language and program it in 1/10th the time with slightly less performance... also, future development is probably easier to handle on languages like c#,java etc but i suppose it couldnt hurt to learn C it makes you appreciate alot of things we take for granted in languages that is made in the last 25 years.
|
|
|
|
|
|
#13 |
|
Member
Join Date: Dec 2007
Location: Adelaide
Posts: 228
|
Pure C, maybe not, but there's plenty of apps in C++.
__________________
MBP 15"/750GB 7200RPM HDD/64GB G.Skill Falcon2 SSD/8GB DDR3 RAM/512MB GT330M/2.66 i7/1680x1050 hires matte Asus P5Q-Pro/E8500/GTX275/Antec EarthWatts 500/many HDDs/4GB 1066 RAM/G5 case |
|
|
|
|
|
#14 |
|
Member
Join Date: Nov 2004
Location: Brisbane
Posts: 7,804
|
Only because we have uber nerds (Linus, Stallman) who are so massively egotistical they don't want to redo GNU Linux / Linux in C++, because they seem to have a chip on their shoulder. Instead we have weird arse coding conventions built around the fact it's becoming difficult to maintain.
__________________
2004 Clio 182 1991 205 GTI |
|
|
|
|
|
#15 |
|
Member
Join Date: Apr 2008
Location: Melbourne
Posts: 1,984
|
yeh i'd buy that its either dialects of c or C++ but pure c? really o.o... jeez.
|
|
|
|
![]() |
| Bookmarks |
|
Sign up for a free OCAU account and this ad will go away! |
| Thread Tools | |
|
|