Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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 !@monks...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-07-21 23:19 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (336 votes). Check out past polls.