{"id":20152,"date":"2023-01-26T06:32:12","date_gmt":"2023-01-26T06:32:12","guid":{"rendered":"https:\/\/www.booksofall.com\/?post_type=product&#038;p=20152"},"modified":"2023-01-26T06:36:05","modified_gmt":"2023-01-26T06:36:05","slug":"c-programming","status":"publish","type":"product","link":"https:\/\/www.booksofall.com\/fr\/c-programming\/","title":{"rendered":"C Programming"},"content":{"rendered":"<p><a class=\"extiw\" title=\"wikipedia:C (programming language)\" href=\"https:\/\/en.wikipedia.org\/wiki\/C_(programming_language)\">C<\/a>\u00a0is the most commonly used programming language for writing\u00a0<a class=\"extiw\" title=\"wikipedia:operating systems\" href=\"https:\/\/en.wikipedia.org\/wiki\/operating_systems\">operating systems<\/a>. The first operating system written in C is\u00a0<a class=\"extiw\" title=\"wikipedia:Unix\" href=\"https:\/\/en.wikipedia.org\/wiki\/Unix\">Unix<\/a>. Later operating systems like\u00a0<a class=\"extiw\" title=\"wikipedia:Linux\" href=\"https:\/\/en.wikipedia.org\/wiki\/Linux\">GNU\/Linux<\/a>\u00a0were all written in C. Not only is C the language of operating systems, it is the precursor and inspiration for almost all of the most popular high-level languages available today. In fact,\u00a0<a class=\"extiw\" title=\"wikipedia:Perl\" href=\"https:\/\/en.wikipedia.org\/wiki\/Perl\">Perl<\/a>,\u00a0<a class=\"extiw\" title=\"wikipedia:PHP\" href=\"https:\/\/en.wikipedia.org\/wiki\/PHP\">PHP<\/a>,\u00a0<a class=\"extiw\" title=\"wikipedia:Python (programming language)\" href=\"https:\/\/en.wikipedia.org\/wiki\/Python_(programming_language)\">Python<\/a>\u00a0and\u00a0<a class=\"extiw\" title=\"wikipedia:Ruby (programming language)\" href=\"https:\/\/en.wikipedia.org\/wiki\/Ruby_(programming_language)\">Ruby<\/a>\u00a0are all written in C.<\/p>\n<p>By way of analogy, let&#8217;s say that you were going to be learning Spanish, Italian, French, or Romanian. Do you think knowing Latin would be helpful? Just as Latin was the basis of all of those languages, knowing C will enable you to understand and appreciate an entire family of programming languages built upon the traditions of C. Knowledge of C enables freedom.<\/p>\n<h3><span id=\"Why_C_and_not_assembly.3F\"><\/span><span id=\"Why_C_and_not_assembly?\" class=\"mw-headline\">Why C and not assembly?<\/span><\/h3>\n<p>The biggest reason to learn C over\u00a0<a class=\"extiw\" title=\"w:Assembly language\" href=\"https:\/\/en.wikipedia.org\/wiki\/Assembly_language\">assembly<\/a>\u00a0is because it&#8217;s much easier and faster to write code in C than in assembly for a given programming task. With C, you will write far fewer lines of code, complete the job much quicker, and with far less mental effort than if you wrote it in assembly. And with today&#8217;s modern compilers, executable files compiled from C source code will typically run faster than one written &#8220;by hand&#8221; using assembly. Only in rare edge cases, and only if you really know what you are doing, can assembly offer important speed advantages over C code compiled with a decent compiler.<\/p>\n<p>And with C, you do not have to sacrifice a lot of low level control over how your code is executed. A typical C statement translates into just a few assembly instructions. But C also provides you with a large software library to help you execute low-level tasks that you&#8217;d rather not be bothered programming.<\/p>\n<p>Another huge advantage of C is portability. Different processors have different instruction sets. Having to rewrite and maintain assembly code for each computer architecture you wish to execute your code on is an onerous task. And so one of the main strengths of C is that it combines universality and portability across various computer architectures while still giving you the same kind of low level hardware control you get with assembly. This means you can write your C source code once and easily compile it into binaries for use on a wide variety of machines.<\/p>\n<p>For example, C programs can be compiled and run on the HP 50g calculator (<a class=\"extiw\" title=\"w:ARM architecture\" href=\"https:\/\/en.wikipedia.org\/wiki\/ARM_architecture\">ARM<\/a>\u00a0processor), the TI-89 calculator (<a class=\"extiw\" title=\"w:Motorola 68000\" href=\"https:\/\/en.wikipedia.org\/wiki\/Motorola_68000\">68000<\/a>\u00a0processor), Palm OS Cobalt smartphones (ARM processor), the original iMac (<a class=\"extiw\" title=\"w:PowerPC\" href=\"https:\/\/en.wikipedia.org\/wiki\/PowerPC\">PowerPC<\/a>), the Arduino (<a class=\"extiw\" title=\"w:Atmel AVR\" href=\"https:\/\/en.wikipedia.org\/wiki\/Atmel_AVR\">Atmel AVR<\/a>), and the Intel iMac (<a class=\"extiw\" title=\"w:x86\" href=\"https:\/\/en.wikipedia.org\/wiki\/x86\">Intel<\/a>\u00a0Core 2 Duo). Each of these devices has its own assembly that is completely incompatible with the assembly of any other. C makes it possible to run your code on these machines with much less effort.<\/p>\n<p>So is it any wonder that C is such a popular language?<\/p>\n<p>Like toppling dominoes, the next generation of programs follows the trend of its ancestors. Operating systems designed in C always have system libraries designed in C. Those system libraries are in turn used to create higher-level libraries (like\u00a0<a class=\"extiw\" title=\"wikipedia:OpenGL\" href=\"https:\/\/en.wikipedia.org\/wiki\/OpenGL\">OpenGL<\/a>, or\u00a0<a class=\"extiw\" title=\"wikipedia:GTK\" href=\"https:\/\/en.wikipedia.org\/wiki\/GTK\">GTK<\/a>), and the designers of those libraries often decide to use the language the system libraries used. Application developers use the higher-level libraries to design word processors, games, media players and the like. Many of them will choose to program in the language that the higher-level library uses. And the pattern continues on and on and on&#8230;<\/p>\n<p>That said, learning assembly can be fun and worthwhile because it can give you a deep understanding of how your computer works at very low levels. And learning assembly will definitely help you become a more skilled C programmer. So, by all means, we encourage you learn assembly, but when it comes time to do real work, you&#8217;ll definitely want to get it done with C.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><iframe style=\"width: 100%; height: 700px; border: none;\" src=\"https:\/\/online.visual-paradigm.com\/share\/book\/c-programming-18inn6dqkk?enforceShowPromotionBar=true&amp;p=1\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"featured_media":20155,"template":"","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":""},"product_brand":[],"product_cat":[285],"product_tag":[],"class_list":{"0":"post-20152","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-c-by-programming-language","8":"first","9":"instock","10":"shipping-taxable","11":"product-type-simple"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>C Programming - BooksOfAll French<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.booksofall.com\/fr\/c-programming\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"C Programming - BooksOfAll French\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.booksofall.com\/fr\/c-programming\/\" \/>\n<meta property=\"og:site_name\" content=\"BooksOfAll French\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-26T06:36:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/fr\/wp-content\/uploads\/sites\/6\/2023\/01\/img_63d21daeb60b8.png\" \/><meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/fr\/wp-content\/uploads\/sites\/6\/2023\/01\/img_63d21daeb60b8.png\" \/>\n\t<meta property=\"og:image:width\" content=\"503\" \/>\n\t<meta property=\"og:image:height\" content=\"725\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.booksofall.com\/fr\/wp-content\/uploads\/sites\/6\/2023\/01\/img_63d21daeb60b8.png\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.booksofall.com\/fr\/c-programming\/\",\"url\":\"https:\/\/www.booksofall.com\/fr\/c-programming\/\",\"name\":\"C Programming - BooksOfAll French\",\"isPartOf\":{\"@id\":\"https:\/\/www.booksofall.com\/fr\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.booksofall.com\/fr\/c-programming\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/fr\/c-programming\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.booksofall.com\/fr\/wp-content\/uploads\/sites\/6\/2023\/01\/img_63d21daeb60b8.png\",\"datePublished\":\"2023-01-26T06:32:12+00:00\",\"dateModified\":\"2023-01-26T06:36:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.booksofall.com\/fr\/c-programming\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.booksofall.com\/fr\/c-programming\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/www.booksofall.com\/fr\/c-programming\/#primaryimage\",\"url\":\"https:\/\/www.booksofall.com\/fr\/wp-content\/uploads\/sites\/6\/2023\/01\/img_63d21daeb60b8.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/fr\/wp-content\/uploads\/sites\/6\/2023\/01\/img_63d21daeb60b8.png\",\"width\":\"503\",\"height\":\"725\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.booksofall.com\/fr\/c-programming\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.booksofall.com\/fr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Categories\",\"item\":\"https:\/\/www.booksofall.com\/fr\/categories\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"C Programming\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.booksofall.com\/fr\/#website\",\"url\":\"https:\/\/www.booksofall.com\/fr\/\",\"name\":\"BooksOfAll French\",\"description\":\"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.\",\"publisher\":{\"@id\":\"https:\/\/www.booksofall.com\/fr\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.booksofall.com\/fr\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.booksofall.com\/fr\/#organization\",\"name\":\"BooksOfAll French\",\"url\":\"https:\/\/www.booksofall.com\/fr\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/www.booksofall.com\/fr\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.booksofall.com\/fr\/wp-content\/uploads\/sites\/6\/2022\/06\/booksofall-logo-2.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/fr\/wp-content\/uploads\/sites\/6\/2022\/06\/booksofall-logo-2.png\",\"width\":166,\"height\":30,\"caption\":\"BooksOfAll French\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/fr\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"C Programming - BooksOfAll French","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.booksofall.com\/fr\/c-programming\/","og_locale":"fr_FR","og_type":"article","og_title":"C Programming - BooksOfAll French","og_url":"https:\/\/www.booksofall.com\/fr\/c-programming\/","og_site_name":"BooksOfAll French","article_modified_time":"2023-01-26T06:36:05+00:00","og_image":[{"url":"https:\/\/www.booksofall.com\/fr\/wp-content\/uploads\/sites\/6\/2023\/01\/img_63d21daeb60b8.png","type":"","width":"","height":""},{"width":503,"height":725,"url":"https:\/\/www.booksofall.com\/fr\/wp-content\/uploads\/sites\/6\/2023\/01\/img_63d21daeb60b8.png","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/www.booksofall.com\/fr\/wp-content\/uploads\/sites\/6\/2023\/01\/img_63d21daeb60b8.png","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.booksofall.com\/fr\/c-programming\/","url":"https:\/\/www.booksofall.com\/fr\/c-programming\/","name":"C Programming - BooksOfAll French","isPartOf":{"@id":"https:\/\/www.booksofall.com\/fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.booksofall.com\/fr\/c-programming\/#primaryimage"},"image":{"@id":"https:\/\/www.booksofall.com\/fr\/c-programming\/#primaryimage"},"thumbnailUrl":"https:\/\/www.booksofall.com\/fr\/wp-content\/uploads\/sites\/6\/2023\/01\/img_63d21daeb60b8.png","datePublished":"2023-01-26T06:32:12+00:00","dateModified":"2023-01-26T06:36:05+00:00","breadcrumb":{"@id":"https:\/\/www.booksofall.com\/fr\/c-programming\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.booksofall.com\/fr\/c-programming\/"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.booksofall.com\/fr\/c-programming\/#primaryimage","url":"https:\/\/www.booksofall.com\/fr\/wp-content\/uploads\/sites\/6\/2023\/01\/img_63d21daeb60b8.png","contentUrl":"https:\/\/www.booksofall.com\/fr\/wp-content\/uploads\/sites\/6\/2023\/01\/img_63d21daeb60b8.png","width":"503","height":"725"},{"@type":"BreadcrumbList","@id":"https:\/\/www.booksofall.com\/fr\/c-programming\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.booksofall.com\/fr\/"},{"@type":"ListItem","position":2,"name":"Categories","item":"https:\/\/www.booksofall.com\/fr\/categories\/"},{"@type":"ListItem","position":3,"name":"C Programming"}]},{"@type":"WebSite","@id":"https:\/\/www.booksofall.com\/fr\/#website","url":"https:\/\/www.booksofall.com\/fr\/","name":"BooksOfAll French","description":"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.","publisher":{"@id":"https:\/\/www.booksofall.com\/fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.booksofall.com\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/www.booksofall.com\/fr\/#organization","name":"BooksOfAll French","url":"https:\/\/www.booksofall.com\/fr\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.booksofall.com\/fr\/#\/schema\/logo\/image\/","url":"https:\/\/www.booksofall.com\/fr\/wp-content\/uploads\/sites\/6\/2022\/06\/booksofall-logo-2.png","contentUrl":"https:\/\/www.booksofall.com\/fr\/wp-content\/uploads\/sites\/6\/2022\/06\/booksofall-logo-2.png","width":166,"height":30,"caption":"BooksOfAll French"},"image":{"@id":"https:\/\/www.booksofall.com\/fr\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.booksofall.com\/fr\/wp-json\/wp\/v2\/product\/20152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.booksofall.com\/fr\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.booksofall.com\/fr\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.booksofall.com\/fr\/wp-json\/wp\/v2\/media\/20155"}],"wp:attachment":[{"href":"https:\/\/www.booksofall.com\/fr\/wp-json\/wp\/v2\/media?parent=20152"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.booksofall.com\/fr\/wp-json\/wp\/v2\/product_brand?post=20152"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.booksofall.com\/fr\/wp-json\/wp\/v2\/product_cat?post=20152"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.booksofall.com\/fr\/wp-json\/wp\/v2\/product_tag?post=20152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}