
语言
文章平均质量分 54
piaopiaolanghua
胸中有丘壑,撸码如有神。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Ai问答之星载计算器性能以及C/C++编程语言支持情况
在太空任务中,代码的确定性和可验证性比性能更重要。即便是C++,也需遵循MISRA C++ 等安全规范,确保行为符合预期。星载计算机的性能指标和编程语言支持情况与地面计算机有显著差异,这是由太空环境的。1、性能:星载计算机以可靠性为先,性能约为地面设备的1/10到1/100。欧空局任务(如伽利略卫星)x86/ARM 定制。原创 2025-07-06 12:09:54 · 599 阅读 · 0 评论 -
C/C++(字节对齐时)字节填充的内容是确定的吗
原创 2024-04-03 15:37:23 · 138 阅读 · 0 评论 -
自行实现字符串转浮点数函数atof()
自行实现的字符串转浮点数函数原创 2023-09-08 00:55:20 · 320 阅读 · 0 评论 -
Qt5静态编译时configure的static和static-runtime有什么区别
configure -confirm-license -opensource -platform win32-msvc -debug-and-release -static -static-runtime -force-debug-info -prefix "D:\Qt\5.9.9_x64_static_vs2015" -qt-sqlite -qt-pcre -qt-zlib -qt-libpng -qt-libjpeg -no-opengl -qt-freetype -nomake tests -no-c原创 2021-06-20 00:00:25 · 1209 阅读 · 8 评论 -
回退转移字符小用法\b
#include #include int main(){std::cout char ch = 0;static unsigned int times;while (true){switch(++times % 4){case 0:ch = '-';break;case 1:ch = '\\';break;原创 2014-08-14 16:55:15 · 1339 阅读 · 0 评论 -
Python logging.handlers.SMTPHandler的参数配置
使用Python的logging.handlers.SMTPHandler,可以把日志发送到邮件,本文主要举例说明其初始化参数。下面是Handler的配置片段:[handler_testHandler]class=handlers.SMTPHandlerlevel=INFOformatter=simpleFormatterargs=(('smtp.163.com',25), '原创 2014-12-11 15:44:48 · 5050 阅读 · 0 评论 -
C++中的Lambda表达式
MSDN上的《Lambda Expressions in C++》原创 2015-09-30 10:02:24 · 452 阅读 · 0 评论 -
多个条件的条件编译
#if !defined(NDEBUG) || defined(RELEASEDEBUG) saveToFile(exePath() + "test.txt"); // 测试#endif原创 2016-10-26 14:27:11 · 1771 阅读 · 0 评论