ICode9

精准搜索请尝试: 精确搜索
  • 匿名管道通讯2022-08-03 08:34:55

    父子进程匿名管道通讯 示例:pipe.c(子读父写) #include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <sys/wait.h> #define BUFFSIZE 1024 int main(){   int pfd[2];   pid_t pid;   char buff[BUFFSIZE];   if(pipe(pfd) &

  • 通过匿名管道实现播放网络视频2022-08-03 08:33:59

    伪代码实现通过匿名管道播放网络视频、音乐等。 示例:player.c(子读父写) #include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <sys/wait.h>#include <fcntl.h> int main(){   int pfd[2];   pid_t pid;   int fd;   if(pipe(pfd

  • 数据中继poll模型2022-08-01 08:33:24

    数据中继poll模型 示例:relay_poll.c #include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <fcntl.h>#include <errno.h>#include <poll.h> #define FILE1 "/dev/tty10"  //终端#define FILE2 &

  • 2019 上半年信息系统项目管理师上午综合知识真题(56)2021-07-04 13:34:22

    ( )是一种支持结构化程序设计的流程设计工具。它的执行顺序是从最左主干线的上端结点的上编结点开始,自上而下依次执行。A.因果分析图B.亲和图C.问题分析图D.判定表   P541 程序流程图(Program Flow Diagram,PFD)用一些图框表示各种操作,它独立于任何一种程序设计语言,比较直观、清晰,易

  • 使用wglCreateContextAttribsARB创建OpenGL2020-08-27 17:35:05

    #include <gl/glew.h> #include <gl/wglew.h> //祖传设置像素格式函数 bool set_pixel_format(HDC hdc) { PIXELFORMATDESCRIPTOR pfd = { 0 }; pfd.nSize = sizeof(pfd); pfd.nVersion = 1; pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | P

  • 鎖相迴路(PLL)基本原理2020-01-26 13:39:30

    摘要: 鎖相迴路(PLL)電路存在於各種高頻應用中,從簡單的時脈淨化電路到用於高性能無線電通信鏈路的本振(LO),以及向量網路分析儀(VNA)中的超快開關頻率合成器。本文將參考上述各種應用來介紹PLL電路的一些構建模組,以指導元件選擇和每種不同應用內部的權衡考慮,這對新手和PLL專家

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有