Git Product home page Git Product logo

ccourse's Introduction

My Own Course About C!

This is a course about programming in the C programming language. It is my own way of teaching C, meaning that it basically tells how I program in C. I tried to explain this "from the very beginning", explaining some of the basic ideas too, though it will benefit from some previous experience with using a computer. In particular I assume people to have some idea of what a "memory" or a "CPU" is. In one place, I assume someone knows what a register is actually :-)

The course has two major "special" ingredients:

  • It explains how to create C classes. Yes, I mean classes in the sense of object orientation. Of course C is not an object-oriented language, but in fact it offers many interesting features that can be used to create simple classes. The FILE type is indeed one such class; therefore I call this practice "the FILE methodology."
  • It deals very much with parsing, the old fashioned way: many pages of this course are devoted to two classic tool for creating tool that parse context-free grammars: Lex and YACC (aka GNU/Flex and GNU/Bison).

Why special emphasys to the above ingredients? Well, because :-). Meaning, because those are the tools and concepts that I have been using more when programming in C.

Should you like to do so, submit your exercises / comments / questions to [email protected] -- I don't promise that I will answer soon, but I do promise I will answer :-)

Enjoy!

Clarifications

  • Note: Aim of this course is not to introduce OOP; only, to explain that one can use C in a "different", possibly sounder way. C is still used in several embedded products; some of these products deliver safety-critical services! I thought it was important to tell how I deal with managing complexity in C.

ccourse's People

Contributors

eidonko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.