Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^3: C tutorial for Perl programmers?

by Athanasius (Chancellor)
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,

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1052221]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2017-09-25 22:37 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (291 votes). Check out past polls.