10 2016 档案
摘要:参考: "基础物理-高能物理[Hyperphysics] "
阅读全文
摘要:1、 "FIO19 C. Do not use fseek() and ftell() to compute the size of a regular file" 2、 "Reposition stream position indicator" 遇到的问题: ①多次执行fopen("wb"),会
阅读全文
摘要:1、漫谈:为什么 函数fscanf(FILE stream, const char format, ...)的 第3个参数中 总是用变量的地址 或者是用指针。 这个问题涉及到 和 。一般情况下,函数的实际参数虽然在函数的内部改变了,但是在返回原函数的时候又变成了原来的值。 参考: 1、 "new l
阅读全文
摘要:比如: 函数 y=√x2+1+√1+(3x)2. 可以在WoframAlpha中绘制输入 来绘制对应的函数图形。 其中,WolframAlpha可以绘制的图形包括: ① ②二维曲线 ③三维曲线。 例如: z = x^2 y^2 REFER: "A few examp
阅读全文
摘要:主要用到的 . These should get you started: "opendir()" "readdir()" "closedir()" "fopen()" "fread()" "fwrite()" "fclose()" See "other C IO" functions. 参考: "
阅读全文
摘要:阅读Linux Kernel Source Code 假如你在Linux系统下面阅读Linux内核源代码,那么需要准备一些工具。 ①Linux的内核源码 内核源码的下载地址: "Index of /pub/linux/kernel" ②代码阅读工具(Vim+Ctags+Cscope+Taglist)
阅读全文
摘要:几个重要的 定义 Macros Defined in header `` enables access to variadic function arguments (function macro) accesses the next variadic function argument (func
阅读全文
摘要:Linux 驱动程序/内核模块/ko文件 一、内核模块加载机制 1、 "解析 Linux 内核可装载模块的版本检查机制" 二、驱动/内核模块 编译 1、 "The Linux Kernel Module Programming Guide: 2.2. Compiling Kernel Modules
阅读全文
摘要:1、What is Checksum? A check sum is basically a value that is computed from data packet to check its integrity(完整性). Through integrity, we mean a check
阅读全文
摘要:1、 "Shell loop" 2、C++/CPlusPlus ①、 "std::for_each" ②、 "for loop" ③、 "Iterator library" 3、Python Loop ①、 "Python.org For loop " ②、 "Python基础(6) 条件、循环"
阅读全文
摘要:1、 "Python Time" 2、 "C++ Time" Example: include include //C++的 库 include long fibonacci(unsigned n) { if (n start, end; start = std::chrono::system_cl
阅读全文
摘要:REFER: "VIM as Python IDE"
阅读全文
摘要:一、英文版 1、 "Advanced Bash Scripting Guide" 二、中文 1、 "BashGuide for Beginners 中文版"
阅读全文
摘要:1、问题:打开Python的IDLE(集成开发环境/Integrated DeveLopment Environment) 然后在Python的shell中做如下动作时: 结果提示: 。 最终尝试了下:发现这个程序是在Windows的CMD(Command、命令行)中执行的。 REFER : "6.
阅读全文
摘要:1、What is Busybox? REFER: "BusyBox" 2、Busybox For Android REFER: "为Android安装BusyBox —— 完整的bash shell "
阅读全文
摘要:如何在bash脚本里面进行循环 !/bin/bash n=9999 for(( i =1; i
阅读全文
摘要:1、 "龙腾世纪" 繁体中无奈 2、 "中国哲学书电子化计划" 简体、繁体、英文版
阅读全文
摘要:在 QT Creator UI 编辑器上通过拖拽各种控件产生UI界面,然后点击编译/Build按钮,会自动生成对应的ui_xxxx.h的 头文件/header file。 参考: 1、 "Linux上使用Qt Creator进行C/C++开发" 2、 "在你的QT工程中使用ui文件"
阅读全文
摘要:REFER: "嵌入式Linux实现关机命令" REFER: "Embedded File System and power off" REFER: "kernel/reboot.c" REFER: "PowerOff" REFER: "Manual Reference Pages REBOOT (
阅读全文
摘要:功能:分解字符串为一组标记串。str为要分解的字符串,delim为分隔符字符串。 说明:首次调用时,str必须指向要分解的字符串,随后调用要把s设成 。 在str中查找包含在delim中的字符并用 来替换,直到找遍整个字符串。 返回指向下一个标记串。当没有标记串时则返回空字符NULL。 实例:用st
阅读全文
摘要:1、 "Determine if a string is a valid IP address in C" "Beej's Guide to Network Programming" 2、 "9.14. inet_ntop(), inet_pton() " 3、 "Program to valida
阅读全文
摘要:QT的Slot/Singal 槽/信号 1、Usage/使用方法 所有从 QObject 或其子类 ( 例如 Qwidget) 派生的类都能够包含 信号/signal和 槽/slot。当对象改变其状态时,信号就由该对象发射 emit 出去,这就是 对象/object所要做的全部事情,它不知道另一端是
阅读全文
摘要:计算不重复单词的个数 参考: 1、 "Unique words count"
阅读全文
摘要:参考: 1、 "List of state name etymologies of the United States" 2、 "Origin of State Names"
阅读全文
摘要:1、SQL Constraint Integrity Constraints are used to apply business rules for the database tables. The constraints available in SQL are Foreign Key, Not
阅读全文
摘要:、 "Chomsky" ) (Belarusian: Хомскі, Russian: Хомский, Ukrainian: Хомський, Hebrew: חומסקי, "from (Vyoska) Khomsk (nearby Brest, now Belarus)") is a s
阅读全文
摘要:在线G lib c(GNU C Library库)网站 参考: 1、 "bitsToTypes"
阅读全文