上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 65 下一页
摘要: #ifndef _IMPLEMENT_H #define _IMPLEMENT_H #ifdef _WIN32_WINNT #undef _WIN32_WINNT #endif #define _WIN32_WINNT 0x400 #include <windows.h> /* * In case 阅读全文
posted @ 2020-04-05 09:30 卷哭你 阅读(1749) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h" #include <pthread.h> #include <stdio.h> void * thread_routine(void*arg); void * thread_routine(void*arg) { return arg; } int main( 阅读全文
posted @ 2020-04-04 23:23 卷哭你 阅读(1555) 评论(0) 推荐(0) 编辑
摘要: #include "pthread.h" #include "implement.h" int pthread_attr_init (pthread_attr_t * attr) /* * * DOCPUBLIC * Initializes a thread attributes object wi 阅读全文
posted @ 2020-04-04 22:42 卷哭你 阅读(522) 评论(0) 推荐(0) 编辑
摘要: 2.1 节讲诉创建和管理线程的编程内容,即如何建立线程,线程在程序中如何表示,以及建立线程后能对他们进行的基本操作。 2.2 讲诉线程的生命周期,从线程建立到线程回收。该节将讲诉线程所有能够经历的调度状态。 阅读全文
posted @ 2020-04-04 14:58 卷哭你 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 方法一 #include "stdafx.h" #include <stdio.h> #include <assert.h> #include <windows.h> #include <process.h> // 包含这个头文件就行 方法二 移植posix库: 移植官网: ftp://source 阅读全文
posted @ 2020-04-04 14:26 卷哭你 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 所有英文字符都是使用字符数组存储的,也就是打通了计算机与英语的联系。 static void strarray_printf(char *data, int len) { int i; for (i = 0; i < len; i++) { printf("0x%02x ", data[i]); } 阅读全文
posted @ 2020-04-03 09:31 卷哭你 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 这篇文章说的很好 https://www.cnblogs.com/yaoqingzhuan/p/10889718.html 我遇到的坑: (1) .~bash 是在home目录下面的 (2)export里面的路径错误 也不会报错 所以的要认真看一下 我在这里坑过。 (3)直接export xxx 命 阅读全文
posted @ 2020-04-02 11:30 卷哭你 阅读(788) 评论(0) 推荐(0) 编辑
摘要: 事实上,没有难么简单 。 public class Hello { public static void main(String [] args) { System.out.println("Java Hello world\n"); } } 看起来比较奇怪,后面再搞搞,有点奇怪的感觉。 阅读全文
posted @ 2020-03-30 21:19 卷哭你 阅读(155) 评论(0) 推荐(0) 编辑
摘要: (1)采集8通道,6通道保存 数据错乱 阅读全文
posted @ 2020-03-30 20:52 卷哭你 阅读(313) 评论(0) 推荐(0) 编辑
摘要: - 0xce 如果是short类型表示 0xffce 表示负数 负数的10进制是很大的 。 -0xce 如果是int类型的话 0xffffffce 表示负数 负数的10进制也很大 阅读全文
posted @ 2020-03-30 20:22 卷哭你 阅读(723) 评论(0) 推荐(0) 编辑
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 65 下一页