Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^3: C tutorial for Perl programmers?

by Athanasius (Abbot)
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 exploiting the Monastery: (8)
As of 2015-01-26 06:47 GMT
Find Nodes?
    Voting Booth?

    My top resolution in 2015 is:

    Results (186 votes), past polls