Self-compiled Linux C study guide book electronic distribution released

Preface

This is a Linux C language learning instructional e-book compiled by the author for nearly a month. This book analyzes the memory and basic syntax of C language programs, especially the understanding of pointers, and some memory analysis. The pictures and texts are in place, and I have compiled books for the first time, hoping to help you who are learning Linux C language.
Insert picture description here

Development environment introduction

  • Operating system Ubuntu 16.04 (64-bit)
  • Compiler gcc
  • Edit tool VScode remote login

Environment Configuration Guide

VM installation

Installation tutorial reference link: VM installation guide

Ubuntu-16

Ubuntu installation reference link: Ubuntu installation tutorial reference

Mirrors of various versions of Ubuntu : Mirrors of various versions of Ubuntu

VS Code remote configuration

  • How to use VS Code on the window to remotely connect to the virtual machine in the VM for programming development

Tutorial connection: VScode remote access configuration

  • vs cdoe plug-in recommendation

    Insert picture description here

  • Code Run placement

    • First open the configuration

    • Find Code-runner: Executor Map

  • Find C, CPP, modify the compilation script according to the gcc version [External link image transfer failed. The source site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-frL4EouZ-1614958075701) (Environmental setup.assets/image-20210119195443534.png)]

    Effect after configuration

  • Connect to a virtual machine remotely

    [External link image transfer failed. The source site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-VJdR6ftj-1614958075708)(Environmental setup.assets/image-20210119195747386.png)]

  • Write code test, click on the triangle in the upper right corner to quickly compile [shortcut ctrl + alt + N]

    [External link image transfer failed. The origin site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-YYxvJwKV-1614958075709) (Environmental setup.assets/image-20210119195833667.png)]

  • Code quick format: alt + shift + f

  • Support column programming, hold down alt + arrow keys or click with the mouse

  • Quickly copy the current line alt + shift + arrow keys

  • Adjust the code line alt + arrow keys

  • Quickly cut or delete the entire line ctrl + x

  • Other VScode shortcut keys can click on the setting to query


Book Catalog Guide

  • Introduction and analysis of the compiler compilation process
    Insert picture description here

  • C language basic data structure
    Insert picture description here

  • C language control flow grammar and demonstration, and in-depth analysis and interview questions
    Insert picture description here

  • Control Flow Loop Statement and Branch Statement in C Language
    Insert picture description here

  • The soul and essence of C language of array and pointer
    Insert picture description here

  • The definition and use of C language functions, and some special functions
    Insert picture description here

  • Compound data types, learning object-oriented programming ideas, data is no longer single
    Insert picture description here

  • A deeper understanding of memory, the use of dynamic memory and the distribution of all data and variables, and a deep analysis of the memory of C language programs
    Insert picture description here

  • Compilation of the header file, formally enter the project management
    Insert picture description here

  • Complex macro definitions and some keyword analysis make the program lightning fast
    Insert picture description here

  • Use of dynamic libraries and static libraries, program entry encapsulation, library learning
    Insert picture description here

  • Understand the compiler and gdp debugger, fight against bugs
    Insert picture description here

  • Makefile basic learning, LinuxC enters the project management stage
    Insert picture description here

  • After studying as a teacher, continue to read the recommended readings for further studies
    Insert picture description here

Book portal

Guess you like

Origin blog.csdn.net/weixin_44064134/article/details/114419562