《C++ System Programming Cookbook》第一章读书笔记

阅读书籍《C++ System Programming Cookbook》记录

  • 使用docker
  • linux 用户管理常见命令
    • adduser:创建用户
    • login:用户登录
    • passwd: 修改用户密码
    • usermod -a -G:用户加入组
    • userdel: 删除用户
    • groups: 列举组
    • ps aux:进程命令
  1. 进程的task_struct结构定义在sched.h头文件中
  2. 线程的定义在thread_info.h头文件中
  3. 一个进程可以有多个线程
  4. Linux不区分进程和线程
  5. 线程被当作轻量级进程(LWP)
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
eBook Description: C Programming Cookbook: A comprehensive guide with curated recipes to help you gain a deeper understanding of modern C C is a high-level language that’s popular among developers. It enables you to write drivers for different devices, access machine-level hardware, apply dynamic memory allocation, and much more. With self-contained tutorials, known as recipes, this book will guide you in dealing with C and its idiosyncrasies and help you benefit from its latest features. Beginning with common tasks, each recipe addresses a specific problem followed by explaining the solution to get you acquainted with what goes on under the hood. You will explore core concepts of the programming language, including how to work with strings, pointers, and single and multi-dimensional arrays. You will also learn how to break a large application into small modules by creating functions, handling files, and using a database. Finally, the book will take you through advanced concepts such as concurrency and interprocess communication. What You Will Learn Manipulate single and multi-dimensional arrays Perform complex operations on strings Understand how to use pointers and memory optimally Discover how to use arrays, functions, and strings to make large applications Implement multitasking using threads and process synchronization Establish communication between two or more processes using different techniques Store simple text in files and store data in a database By the end of this C Programming Cookbook book, you’ll have a clear understanding and deeper knowledge of C programming, which will help you become a better developer.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值