最新 最热

云课五分钟-0Cg++默认版本和升级-std=c++17

sudo apt-get update 3. 输入以下命令,安装g++的最新版本:

2023-11-20
0

What's the Difference Between Blocking vs Non-Blocking and Sync vs Async?

During application development, we often confront terms like "Blocking," "Non-blocking," "Synchronous," and "Asynchronous." It's a common misconception to view ......

2023-11-18
1

19.11 Boost Asio 获取远程目录

远程目录列表的获取也是一种很常用的功能,通常在远程控制软件中都存在此类功能,实现此功能可以通过filesystem.hpp库中的directory_iterator迭代器来做,该迭代器用于遍历目录中的文件和子目录,它允许开发者轻松遍历目录层...

2023-11-10
1

19.13 Boost Asio 发送TCP流数据

Boost框架中默认就提供了针对TCP流传输的支持,该功能可以用来进行基于文本协议的通信,也可以用来实现自定义的协议。一般tcp::iostream会阻塞当前线程,直到IO操作完成。...

2023-11-09
1

听GPT 讲Rust源代码--library/std(16)

题图来自 EVALUATION OF RUST USAGE IN SPACE APPLICATIONS BY DEVELOPING BSP AND RTOS TARGETING SAMV71[1]

2023-11-08
0

如何正确使用C++快速写入大文件

实际编程时,经常会写入到文件,尤其是在计费类的话单中,第三方厂家落话单时经常会写入大文件,这些文件小则几十兆,大则上百兆,如何快速的将话单写入到文件呢?这里介绍两种常见的方法,当然实际业务场景中会有很多种方案,在本文的...

2023-11-07
0

听GPT 讲Rust源代码--library/std(15)

题图来自 An In-Depth Comparison of Rust and C++[1]

2023-11-07
0

听GPT 讲Rust源代码--library/std(14)

题图来自 My second impression of Rust and why I think it's a great general-purpose language![1]

2023-11-06
0

听GPT 讲Rust源代码--library/std(13)

题图来自 Decoding Rust: Everything You Need to Know About the Programming Language[1]

2023-11-06
0

听GPT 讲Rust源代码--library/std(12)

题图来自 Decoding Rust: Everything You Need to Know About the Programming Language[1]

2023-11-06
0