• Complain

Slobodan Dmitrović - Modern C for Absolute Beginners : A Friendly Introduction to the C Programming Language

Here you can read online Slobodan Dmitrović - Modern C for Absolute Beginners : A Friendly Introduction to the C Programming Language full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. publisher: Apress, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Slobodan Dmitrović Modern C for Absolute Beginners : A Friendly Introduction to the C Programming Language
  • Book:
    Modern C for Absolute Beginners : A Friendly Introduction to the C Programming Language
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Modern C for Absolute Beginners : A Friendly Introduction to the C Programming Language: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Modern C for Absolute Beginners : A Friendly Introduction to the C Programming Language" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Slobodan Dmitrović: author's other books


Who wrote Modern C for Absolute Beginners : A Friendly Introduction to the C Programming Language? Find out the surname, the name of the author of the book and a list of all author's works by series.

Modern C for Absolute Beginners : A Friendly Introduction to the C Programming Language — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Modern C for Absolute Beginners : A Friendly Introduction to the C Programming Language" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Contents
Landmarks
Book cover of Modern C for Absolute Beginners Slobodan Dmitrovi Modern C - photo 1
Book cover of Modern C for Absolute Beginners
Slobodan Dmitrovi
Modern C for Absolute Beginners
A Friendly Introduction to the C Programming Language
1st ed.
Logo of the publisher Slobodan Dmitrovi Belgrade Serbia Any source code - photo 2
Logo of the publisher
Slobodan Dmitrovi
Belgrade, Serbia

Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub via the books product page, located at www.apress.com/9781484266427 . For more detailed information, please visit http://www.apress.com/source-code .

ISBN 978-1-4842-6642-7 e-ISBN 978-1-4842-6643-4
https://doi.org/10.1007/978-1-4842-6643-4
Slobodan Dmitrovi 2021
This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use.
The publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, expressed or implied, with respect to the material contained herein or for any errors or omissions that may have been made. The publisher remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Distributed to the book trade worldwide by Apress Media, LLC, 1 New York Plaza, New York, NY 10004, U.S.A. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.

For Sanja and Katarina

Acknowledgments

I would like to thank my friends and fellow peers who have supported me in writing my second book.

I am forever indebted to Peter Dunne, Glenn Dufke, Bruce McGee, Tim Crouse, Jens Fudge, Rainer Grimm, and Rob Machin for all their work, help, and support.

I am grateful to the outstanding professionals at Apress who have supported me during the entire writing process.

I am thankful to all of the amazing software developers, architects, and entrepreneurs I met and collaborated with throughout the years.

Table of Contents
Part I: The C Programming Language
Part II: The C Standard Library
Part III: Modern C Standards
Part IV: Dos and Donts
Part V: Appendices
About the Author
Slobodan Dmitrovi
is a software consultant trainer and entrepreneur He is the founder and CEO - photo 3
is a software consultant, trainer, and entrepreneur. He is the founder and CEO of Clear Programming Paradigm, an LLC that provides outsourcing and training services. Slobodans ability to summarize complex topics and provide insightful training made him a sought-after consultant for automotive, fintech, and other industries. He has a strong interest in C, C++, software architecture, training, and R&D. Slobodan can be reached at www.cppandfriends.com .
About the Technical Reviewer
German Gonzalez-Morris

is a software architect/engineer working with C/C++, Java, and different application containers, in particular, with WebLogic Server. He has developed different applications including JEE/Spring/Python. His areas also include OOP, Java/JEE, Python, design patterns, algorithms, Spring Core/MVC/Security, and microservices. German has worked in performance messaging, Restful API, and transactional systems. For more, see www.linkedin.com/in/german-gonzalez-morris .

Part I The C Programming Language
Slobodan Dmitrovi 2021
S. Dmitrovi Modern C for Absolute Beginners https://doi.org/10.1007/978-1-4842-6643-4_1
1. Introduction
Slobodan Dmitrovi
(1)
Belgrade, Serbia

Dear reader, congratulations on choosing to learn the C programming language , and thank you for picking up this book. My name is Slobodan Dmitrovi, and I will try to introduce you to a wonderful world of C programming to the best of my abilities. This book is divided into four parts. In Part 1, we cover the C language basics. Part 2 explains the C standard library, and Part 3 introduces us to modern C standards. The final part explains the dos and donts in modern C. Let us get started!

1.1 What Is C?

C is a programming language, a general-purpose, procedural, compiled programming language. C language was created by Dennis Ritchie in the late 1960s and early 1970s. The C program is a collection of C source code spread across one or more source and header files. Source files by convention have the .c extension, and header files have the .h extension. Source and header files are plain text files that contain some C code.

1.2 What Is C Used For?

C is often used for so-called systems programming, which is operating systems programming, application programming, and embedded systems programming , to name a few. A large portion of Linux and Windows operating systems was programmed using C. C is often used as a replacement for an assembly language. C language constructs efficiently translate to the hardware itself. Whenever we want to get down to the metal, we can opt for C.

1.3 C Compilers
To compile and run a C program, we need a C compiler. A compiler compiles a C program and turns the source code into an object file. The linker then links the object files together and produces an executable file or a library, depending on our intention. For the most part, we say we compile the program and assume the compilation process results in an executable file that we can run. At the time of writing, some of the more popular C compilers are:
  • gcc as part of the GCC toolchain

  • Clang as part of the LLVM toolchain

  • Visual C/C++ compiler as part of the Visual Studio IDE

  • MinGW a Windows port of the GCC

1.3.1 Installing Compilers

Here we describe how to install C compilers on Linux and Windows and how to compile and run our programs.

1.3.1.1 On Linux
To install a GCC compiler on Linux , open a terminal window and type:
sudo apt install build-essential
This command installs a GCC toolchain, which we can use to compile, debug, and run our C programs. Using a text editor of our choice, let us create a file with the following code:
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Modern C for Absolute Beginners : A Friendly Introduction to the C Programming Language»

Look at similar books to Modern C for Absolute Beginners : A Friendly Introduction to the C Programming Language. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Modern C for Absolute Beginners : A Friendly Introduction to the C Programming Language»

Discussion, reviews of the book Modern C for Absolute Beginners : A Friendly Introduction to the C Programming Language and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.