Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^3: C tutorial for Perl programmers?

by Athanasius (Monsignor)
on Sep 04, 2013 at 06:34 UTC ( #1052221=note: print w/ replies, xml ) Need Help??

in reply to Re^2: C tutorial for Perl programmers?
in thread C tutorial for Perl programmers?

Also, don’t overlook these:

  • definition vs. declaration
  • the preprocessor: #define, conditional compilation, #include
  • arrays and const
  • struct, union, enum, and typedef
  • the more commonly-used standard libraries: stddef.h, stdio.h, string.h, stdlib.h
  • the different uses of static

Some more advanced topics for later:

  • extern
  • variadic functions
  • long jumps

Also of practical help when teaching memory management: explain the meaning of “segmentation fault” and “bus error” — your student(s) will be seeing a lot of these! ;-)

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Comment on Re^3: C tutorial for Perl programmers?
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1052221]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2014-10-25 18:24 GMT
Find Nodes?
    Voting Booth?

    For retirement, I am banking on:

    Results (147 votes), past polls