?

Log in

No account? Create an account
IBNeko's Journal-Nyo~!
ibneko
ibneko
C Language tutorial - From the PHP/Perl programmer's point of view.
http://cocoadevcentral.com/articles/000081.php

This has got to be the best tutorial I've read. Concise, to the point, and covers the basics that I need (having forgotten them from programming in Perl and Java for so long now).
6 happy kittens | Leave catnip
Comments
fbartho From: fbartho Date: May 23rd, 2005 07:23 pm (UTC) (Link)
lmao... pretty good tutorial, if funky and backwards and stuff... :P
ibneko From: ibneko Date: May 23rd, 2005 07:33 pm (UTC) (Link)
funky and backwards and stuff...?
fbartho From: fbartho Date: May 23rd, 2005 08:02 pm (UTC) (Link)
I'll give you a hint... I'm a C/C++ Programmer first, and I've taught myself PHP on my own from various tutorials including "PHP from a C/C++ Programmer's perspective" and as such I'm very much addicted to my native languages... 'PHP is good and all, but it is built off of "my" language' ;) lol parts of the tutorial make the wannabe purist in me scream, but I see the reasons for why they did things the way they did. Plus to me alot of their descriptions are counter-intuitive for me to understand C/C++ the way I do... So yeah, its funky. and backwards. and stuff. You go from the root language to the derived language and not the other way around... LoL... Next you're gonna tell me about assembly and then bytecode, but those are simply too tedious... :P
ibneko From: ibneko Date: May 23rd, 2005 08:06 pm (UTC) (Link)
Ahh. Yeah, I was a Java programmer first, then Perl... and I think perl is still my favorite language. So it all made sense to me. But yeah, I guess it could be backwards, for someone who's a C/++ programmer first.
p_trekkie From: p_trekkie Date: May 24th, 2005 03:22 am (UTC) (Link)
Bah, people should learn real programming languages like Fortran. :)

On a more serious note, learning C from something else (besides C++) seems almost sacriligeous. Also, shell scripting, sed, and awk are really handy things to learn if you haven't already.... I've never had to use perl, but I really should probably learn it at some point....
ibneko From: ibneko Date: May 24th, 2005 05:18 am (UTC) (Link)
Hahah. My dad still uses Fortran... And he would be estatic if I picked it up, and helped him rewrite his programs over to C. ^^;; The scientist's programming language.

Heh. Shell scripting, sed, and awk, huh... don't know anything 'bout the latter two, but shell scripting I've poked around with... doesn't look too bad, although somewhat restricted (lacking in capabilities), but it is something I ought to pick up. Do you have suggested sources of learning for any of those?

(Actually shell scripting would be useful. I could use a script that would look up the PID for a given process, looked up with grep... I think I could do it in perl, with a system() command, but I haven't tried yet... No, make that I _know_ I could do it in perl. Just haven't gotten around it, like way too many other things.)
6 happy kittens | Leave catnip