
C/C++
文章平均质量分 77
alexwang1983
这个作者很懒,什么都没留下…
展开
-
C C++ socket
http://upload.wikimedia.org/wikipedia/commons/a/a1/InternetSocketBasicDiagram_zhtw.pnghttp://www.linuxhowtos.org/C_C++/socket.htmSockets TutorialThis is a simple tutorial on using so转载 2013-10-21 14:10:47 · 1417 阅读 · 0 评论 -
c 的多进程编程实例
本实例主要是关于在linux上的c语言编程,涉及到pipe在master process 和 sub process之间的交互。 如何利用fork创建multi-process, 如何利用从子进程中发送信号到父进程。#include #include #include #include #include #include int notify(int p原创 2013-11-13 13:11:05 · 1591 阅读 · 1 评论 -
error: no sdcard inserted on pcduino
when you insert the micro sdcard to the pcduino, and try to backup or原创 2014-04-23 16:29:39 · 1181 阅读 · 0 评论 -
7 Strace Examples to Debug the Execution of a Program in Linux
Strace is a debugging tool that will help you troubleshoot issues.Strace monitors the system calls and signals of a specific program. It is helpful when you do not have the source code and would l转载 2015-08-20 18:56:20 · 453 阅读 · 0 评论 -
using gdb to debug c program
#include static void display(int i, int *ptr);int main(void) { int x = 5; int *xptr = &x; printf("In main():\n"); printf(" x is %d and is stored at %p.\n", x, &x); printf(" xptr原创 2015-08-20 18:54:10 · 618 阅读 · 0 评论