UNIX/Linux Programming (Page 2)

my pipe exits from shell,
//implement single pipe int fd ; pipe(fd); cout<<command...
[6 replies] Last: from dtscode: 1) Next time, please post a proper test case: http://ee... (by toad1359)
understanding Pthread_cond_signal()
Hi. I do not understand this function. It says in the reference manuals that it wakes up/unblocks bl...
[1 reply] : Here are good overviews of pthreads: http://www.yolinux.com/TUTORIALS... (by koothkeeper)
Binary files compatibility
I have a .o file generated by arm compiler and another .o file generated by gcc-arm cross compiler. ...
[4 replies] Last: The executable is built on gcc. I want to build the library using arm,... (by Minions)
How to make a app like nano or vim in which the whole terminal is used
When i make my terminal apps i don't like it when all the stuff that i ran in my terminal appears at...
[2 replies] Last: there is also termbox which is minimalistic and easy to use. (by mmw)
by Pam44
Empty file on pcap_dump
Hi, I am trying to capture packets using a pcap library API. I am used pcap_dump to dump my packes...
[1 reply] : First, please edit your post and use the formatting features to proper... (by PanGalactic)
by arvust
Hi, Anyone with a fair amount of experience in using optarg? I am currently trying to use it due ...
[1 reply] : http://www.cplusplus.com/search.do?q=getopt (by koothkeeper)
Linking GLFW Dependencies in Code::Blocks
I'm having issues figuring out what libraries I need to link to run this program: #include<cstdli...
[5 replies] Last: I'll suppose that glfw refers to version 2 jhere's a list of differenc... (by ne555)
SDL1.2 on a raspbian pi2
I'm learning SDL on a raspberry pi2 (raspbian OS) and I'm following the tutorials over at http://laz...
[4 replies] Last: You have a semicolon at the end of line 60 which makes line 61-65 not ... (by Peter87)
by koxp
Copy of a file
Hi together, i wrote i code, which should copy the content of a file to another file. Synopsis of...
[2 replies] Last: I m sorry that i dont familiar with the UC file operation,i wrote it i... (by stormSpirit)
Difficulty with Conditionals
Hey! I'm having a little difficulty with my code. Here it is: bool user::Execute(SampleFormat& sam...
[6 replies] Last: Problem solved! (by whitebeard)
implement your own pipe ls | wc example
what am I doing wrong, this is part of my code for only | //ignore unnecessary headers #...
[4 replies] Last: thanks a lot ...its working...one more thing..how would I implement mu... (by csstudent123)
cross compiler for arm in windows
I want to build a static library with Arm Ds5 compiler. I want to use the library in another executa...
[1 reply] : I find the Yocto framework to be the most flexible; however, the Eclip... (by koothkeeper)
Signal Handler for all 64 signals
please let me know a quick way to write default signal handling for all 64 signals in Linux system c...
[1 reply] : You can try a for-loop: for all the signals call signal( signa... (by koothkeeper)
How read serial without consume byte
Hi! I have to develop API that when arrive byte by serial communication, only consult the serial...
[1 reply] : Depending on what class you use, it's possible. You can use putback()... (by koothkeeper)
Why close other end of pipe?
Why a process should close the other end of the pipe that it doesn’t use ?
[5 replies] Last: Thanks dhayden...sorry for misunderstanding booth (by csstudent123)
by mogha
Data Shared Memory
Hi, I have data shared memory which i am using as lookup space.I have key and its associated data...
[6 replies] Last: You said it's in shared memory, which means it's shared between proces... (by dhayden)
How to make the gotoxy function??
Hi everybody. I am trying to program ascii games in the console, such as the snake, or the tron, and...
[2 replies] Last: Curses would be the best solution for a full on, text-based app. But y... (by andywestken)
Stack Smashing detected in IPC
program 1 to send message: #include<iostream> #include<sys/msg.h> #include<sys/ipc.h> #include<cst...
[2 replies] Last: I am following the examples from handouts to solve new problems, (by csstudent123)
An example of waitpid()
I want to modify this program using waitpid() only to output 121 #include <iostream> #include ...
[no replies]
Error with Vector of Vectors of Custom struct
static struct Color //line 31 { double x, y, z; std::string hex; }; static std::vect...
[5 replies] Last: I was using it as a single vector, not a vector of vectors. Sorry. Tha... (by toad1359)
Pages: 123
  Archived months: [apr2015]

Cannot post in this page. To post a new message, go to the first page.