Author Topic: Good C Tutorials?  (Read 2602 times)

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Good C Tutorials?
« on: March 19, 2007, 10:51:43 pm »
I'm learning C++, but I'm thinking that it would be nice to learn C instead/first. Does anybody know of any good tutorials, either web pages or downloadable PDFs?

I'll probably end up picking up a book later, but I'd like to start out without an investment.

Thanks in advance.
« Last Edit: March 19, 2007, 10:51:59 pm by Capn_Fish »
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Good C Tutorials?
« Reply #1 on: March 19, 2007, 11:47:47 pm »
I'd stick to the pure C++ learning; C isn't so much a stop on the road to C++ as it is a detour that gets you lost in the woods somewhere with no petrol or food while the wolves start closing in.  

Once you know the fundamentals of C++ then C isn't hard to read or work with. But C-style thinking is a serious handicap to developing the proper object-oriented design skills C++ requires.
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
Good C Tutorials?
« Reply #2 on: March 20, 2007, 02:40:48 am »
Bruce Eckel's "Thinking in C++" Volume one has an early chapter summarizing C. I think that's all you have to know. Things beyond discussed there is usually dangerous or misleading to use.

http://mindview.net/Books/TICPP/ThinkingInCPP2e.html

I find Bruce Eckel's books (!free!) easy to follow and useful for later reference. Highly recommended.
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Good C Tutorials?
« Reply #3 on: March 20, 2007, 07:44:38 am »
Thanks.

I actually got around to talking to some other people, and they said the same thing, so I guess I'll stick with C++ for the moment.

Anyway, thanks for your help, and I'll look at that link.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

microsoft/linux

  • Full Member
  • ***
  • Posts: 237
    • View Profile
    • http://
Good C Tutorials?
« Reply #4 on: March 26, 2007, 10:51:36 pm »
Also, Learning C++, put out by oreilly publishing is a good book, but it costs about $40 USD. Also, as a reference, check out www.cprogramming.com, it's sort of high level for a beginner, but good to know about
C3200(exiguitas) Angstrom Beta(version not designated)/GPE
SL-5500(immotus) OpenZaurus 3.5.4/GPE, OpenZaurus 3.5.4/Opie(loopmount)
1GB SD Card
128MB CF Card/8MB CF Card
Gentoo/Windows XP Home SP2

Numbers rule the Universe.
        --The Pythagoreans

Microsoft/Linux

Snappy

  • Hero Member
  • *****
  • Posts: 793
    • View Profile
    • http://
Good C Tutorials?
« Reply #5 on: March 28, 2007, 08:41:58 am »
Most primers on C++ will cover a bit of C. I find the C reference guide in msdn.microsoft.com useful as it is basically ansi c. Just ignore the windows and platform api portions.
Snappy!
------------------------
Akita (Daily use)
<span style='font-size:8pt;line-height:100%'>SL-C1000 with Cacko 1.23 full
Accessories: Wifi XI-825 CF  |  16GB (6) SDHC (Transcend) | 1GB 80x CF (RiDATA PRO-2) </span>

Collie (Sandbox)
<span style='font-size:8pt;line-height:100%'>SL-5500 with OZ/GPE 3.5.4.1 alpha3 build 2006-04-27
Accessories: 512MB A-Data SD | 64MB Toshiba SD</span>