UNIX/Linux Programming - May 2011 (Page 2)

Error trying to use malloc at Ubuntu
 
Hello guys im trying to run a code that runs fine at windows, but when I try to run it at Ubuntu I g...
[3 replies] Last: Thats amazing... :) (by writetonsharma)
by ms4800
need help in makefile syntax??
 
tmp = `echo $$MKCS_RISLABEL | awk -F"_" '{print $$2}'` ifeq ($(tmp),FSPR6CGR) bash_Versi...
[1 reply] : Is environment var MKCS_RISLABEL set? As a matter of curiosity, what'... (by kbw)
Sending several lines of data through socket
 
I have this problem: I have a data structure called DACT, that I convert into a string line and sen...
[7 replies] Last: I realised why you asked those questions. That \0 character was intend... (by thierrypin)
how to modify this code and input this list as input
 
i see this code in this thread, i want to know how to get input by user or from file in this code. f...
[1 reply] : Please don't duplicate post (or triplicate as the case might be). http... (by kbw)
unwind_cleanup error during cout.flush()
 
Hello, we have a logger system which is printing error message depending on the LOGGER output sel...
[1 reply] : It's possible cout/cerr/clog is destroyed while you're still using it.... (by kbw)
Does a *nix API Exist?
 
I honestly have no idea why I didn't come here sooner. I've checked online for a few weeks and haven...
[8 replies] Last: I was mistaken, thanks for clearing that up. Wow, my respect for those... (by Computergeek01)
by Jhn
Pthread runtime error
 
I tried running a simple Pthread program. It compiled fine but gave a runtime error. I don't know ho...
[4 replies] Last: Yes, it works now. You are right, I was trying to run the source code.... (by Jhn)
Mic loopback
 
Hey guys... So basically I want to be able to virtually link some audio output to my mic input... ...
[no replies]
by ph2011
factorial using pipes
 
write a program that calculates the factorial of an integer using pipes... can me out with this pro...
[2 replies] Last: thank for that information.. (by ph2011)
by banun
raise.c
 
Hi, I'm getting the following problem while using DDD to debug my program : Here's what I get ...
[1 reply] : The problem is that DDD cannot find your source file. Does the file gi... (by h3432)
by Jhn
Need help with pthread
 
I can't run the following program which uses pthreads. When I compile it using gcc, I get errors whi...
[2 replies] Last: U mean something like: cc -lpthread programName.c (by Jhn)
by now
Xlib Context Management tutorials/examples
 
Hi, I'm hoping somebody can help me locate some good links with any tutorials or examples for usi...
[2 replies] Last: I wanted to learn lower level graphics programming first. I'm working ... (by now)
by bacpp
sed: advanced auto-dependency generation
 
hi, can anyone pls help me understand what $@.$$$$ means in the following sed command: sed 's/\($*...
[8 replies] Last: the problem is when I run the code, I get the following error: /bin/s... (by bacpp)
string to double
 
Hello! i have a problem converting from string to double. I read a string containing my value from...
[7 replies] Last: I've never seen this happen before. I can't test now, but when i get t... (by thierrypin)
by sidjey
transposition of the matrix.
 
Implement a program of the parallel algorithm for transposition of the matrix. please help me with ...
[2 replies] Last: You can make a thread that reads a line and writes it as a column in t... (by thierrypin)
Implementing a interface in a dynamic library so
 
I want to implement a class that inherits from an interface in a unix-so or in a win -dll. Can I do...
[1 reply] : The class declaration should be in a header file which you can include... (by anonymous23323124)
by WSiaB
GUI coding intro tutorial
 
I have just completed a Introduction to C++ class and all we did was work in the console. I was won...
[1 reply] : QT - http://www.digitalfanatics.org/projects/qt_tutorial/ wxWidgets -... (by Moschops)
How to launch new process on mac
 
#include <stdio.h> #include <unistd.h> int main() { pid_t pid; pid = fork(); ...
[4 replies] Last: [quote=man] int execl(const char *path, const char *arg, ...); exec... (by ne555)
How to specify interface in multicast?
 
Hi! I have a quick question. If I have a multi home PC, Where do I specify which interface to use wh...
[5 replies] Last: Thanks again. I found tcpdump works just fine. except it needs sudo ..... (by RobinQi1)
File permission error
 
I wrote a piece of code to find out the ipaddress of my linux machine. It works well when I compile...
[2 replies] Last: In your code: readFile.open("myip.txt", ifstream::out); system("ifcon... (by kbw)
May 2011 Pages: 123
  Archived months: [apr2011] [jun2011]

This is an archived page. To post a new message, go to the current page.