C and C++ books-page2 Posted on: February 14, 2008 at 12:00 AM
C and C++ are widely promoted as ideal portable, fast, and - in the case of C++ - "object-oriented" languages.
C and C++ books-page2
Advice & Warning for C Tutorials C and C++ are widely promoted as ideal portable, fast, and - in the case of C++ - "object-oriented" languages. This characterization is deserved when C is considered for systems-level programs such as compilers, or for mass-market products such as word processing or spreadsheet programs. C was designed as a reasonably transportable replacement for assembly language that would add some high-level language constructs, but would retain almost all the low-level procedural capabilities found at the machine instruction level. C++ follows in that tradition, adding object-oriented capabilities (encapsulation and inheritance) to improve productivity while retaining C's original features and its philosophy of "bare metal" performance.
Programming Language Here are some slides I used for a one hour lab I taught to computer science undergraduates in 1994. It was the first year the students had used C but they were expected to understand the basics of the language by the time this lecture was given. The slides, and accompanying lecture, had been adapted from a similar lecture I gave about debugging Pascal to an advanced first-year programming class a couple of years earlier.
The slides were accompanied by print outs of some of the programs they include. Students were able to view and print the slides a week before the lab, but they only got the printout (and the lecture) if they attended the lab. On their own the advice on the slides seems rather trite to me, but when they was combined with my anecdotes about my own experiences I felt it was quite effective. The students in both classes certainly seemed to appreciate the advice.