C Programming in Linux by David Haskins

c-programing-linuxBecause the C language is like Latin – it is finite and has not changed for years. C is tight and spare, and in the current economic climate we will need a host of young people who know C to keep existing critical systems running. C is built right into the core of Linux and Unix. The design idea behind Unix was to write an operating system in C so all you needed to port it to a new architecture was a C compiler. Linux is essentially the success story of a series of earlier attempts to make a PC version of Unix. A knowledge of C is now and has been for years a pre-requisite for serious software professionals and with the recent popularity and maturity of Open Systems this is even more true. The terseness and perceived difficulty of C saw it being ousted from university teaching during the late 1990s in favour of Java but there is a growing feeling amongst some teaching communities that Java really is not such a good place to start beginners. Students paradoxically arrive at colleges knowing less about computing than they did ten years ago as programming is seen as too difficult for schools to teach. Meanwhile the body of knowledge expected of a competent IT professional inexorably doubles every few years. Java is commonly taught as a first language but can cause student confusion as it is in constant flux, is very abstract and powerful, and has become too big with too many different ways to do the same thing. It also is a bit “safe” and insulates students from scary experiences, like driving with air-bags and listening to headphones so you take less care.

 

The core activity of writing procedural code within methods seems impenetrable to those who start from classes and objects. So where do we start? A sensible place is “at the beginning” and C is as close as most of us will ever need to go unless we are becoming hardware designers. Even for these students to start at C and go further down into the machine is a good idea. A knowledge of C will give you deep knowledge of what is going on beneath the surface of higher-level languages like Java. The syntax of C pretty-well guarantees you will easily understand other languages that came afterwards like C++, Java, Javascript, and C#. In this book the readers will read Setting up your system, Hello Programs, Hello world conclusion, Data and Memory, Simple data types, What is a string? What can a string mean, Parsing a string, Data and Memory – conclusion, Functions, pointers and structures, Library functions, A short library function reference, Data structures, Logic, loops and flow control, Syntax of C Flow of control, Controlling what happens and in which order, Logic, loops and flow conclusion, Database handling with MySQL, On net reinventing the wheel, MySQL C API, Graphics with GD library, Generating binary content, Using True Type Fonts, GD function reference, Apache C modules, Safer C web applications, Adding some functionality, Apache Modules Conclusion, The Ghost project, A PHP web site generator project and much more.

To download this book, please click the link below:
Click here to download C Programming in Linux

Leave A Reply

Your email address will not be published.