C Programming for Java Programmers

References:

  1. Mark Allen Weiss, "C++ for Java Programmers"

These notes are prepared to quickly bring CS 385 Operating Systems students up to speed with the basics of C programming they will need for their programming assignments. They are almost entirely restricted to pure C, with only a few of the C++ enhancements included, and no classes or other OO programming.

See also C Plus Course Notes Pages

Some Simple Samples

0 Introduction

1 Basic Types and Control Structures

2 Functions, Arrrays, Strings, and Parameter Passing

3 Pointers and Reference Variables

4.9 The struct Type

10 Collections: The Standard Template Library

11 Primitive Arrays and Strings

12 C-Style C++