UNIX/Linux Programming - November 2013

SOCK_STREAM ENOMEM Help
 
Hi, I am trying to understand what would cause an ENOMEM error from a 'recv(fd, buf, sizeof(buf)...
[15 replies] Last: Seems you are right and I spoke too soon. After about 28 hours, an 'EN... (by johnnyjohnny)
execvp error
 
Hi. I wrote an MPIch program and mpic++'ed the source file. Now I am getting this error: soheil@s...
[3 replies] Last: you did mount it as `exec' this time, ┬┐right? (by ne555)
by jazpen
Mac C++ compiler
 
Hey everyone. I just got a new Mac. I've been coding on my windows computer with VS 11 and now 13. I...
[12 replies] Last: Sublime isn't free but, strictly speaking, there is no time limit on t... (by iHutch105)
by binbk
Segmentation fault
 
I am a very new Linux but I like it a lot and don't want to go back to Windows. I use Block Code to ...
[7 replies] Last: Since BinNode owns the left and right pointers, you should create a co... (by dhayden)
Basic TCP server to process GET
 
I am writing a TCP server that will allow clients to connect and run the GET command. 1. Server is ...
[no replies]
seg. fault?!
 
Hi. My program appeared to give segmentation fault on my windows, but it doesn't execute at all in m...
[2 replies] Last: > soheil@soheil-desktop:/media/2318-8E84/MS_Shirazu/Parallel_algorithm... (by ne555)
by cpcp
Connecting between to brothers (at C language)
 
At C language: I have a father that make two sons at a loop by fork() , I want that each son wil...
[3 replies] Last: I solve it! I had to do: pid_t me=getpid(); (write(pos ,&me,sizeof(... (by cpcp)
by Kay94
keypress / if (char c == 'd')
 
hello there! i found some code on the web for detecting and analyzing a keypress. i modified it t...
[15 replies] Last: Sorry I mean GetKeyState and GetAsynKeyState. Also check out the virtu... (by giblit)
Bash Logical Statement Question
 
I am fairly adept with bash but I have a general syntax question for an IF statement that has always...
[1 reply] : I think you have line 11 wrong. You need a conditional after the -o. A... (by ShodanHo)
Running libcurl code in C++ on Linux?
 
I am trying to run a code in C++ that will automatically save a specified web page from the internet...
[16 replies] Last: nobody reads the manual You can mix options and other arguments. For... (by ne555)
MPI
 
Hello. I want to run a sample MPI program in Dev-C++. What do I need to do? I use ubuntu distro, v...
[1 reply] : They extract in the directory in which you untar the file. (by ResidentBiscuit)
Sending datagrams using UDP
 
I have completed the program, but I do not think it is being sent to the right server. It should be ...
[1 reply] : Read comments: #include <sys/types.h> #include <sys/socket.h> #in... (by histrungalot)
Looking to code anything
 
Hi, I am sort of new to Linux. But I love it. I want to do something useful. I can't figure ou...
[5 replies] Last: write a simple c program that keeps yours files synced up, for example... (by kautzd06)
C++ multi threaded server and client
 
Hi all, Would really be thankful if someone could help me with this. Basically i have written a s...
[3 replies] Last: Maybe you could change the compile to: Server g++ Server.cpp -lpthrea... (by ShodanHo)
Command line argument make.
 
I have to pass an argument when I run make postfix. I am confused on how to do this. And I really ne...
[4 replies] Last: I figured it out. It was $: make postfix $: ./postfix "data3-1.txt" T... (by bupeking2000)
by piotr5
porting tinywm to c++
 
http://incise.org/tinywm.html tinywm shows a basic event-handling situation. I was thinking to cre...
[2 replies] Last: yes, that's the old way, fit for actually handling multiple windows. h... (by piotr5)
How do I open a window in Ubuntu
 
I want to write a piece of code that will let me open a window and write some text in it like 'hello...
[4 replies] Last: @nightrain Please, take a look here: http://ogldev.atspace.co.uk... (by condor)
i dont understand this. can someone please explain what it wants me to do?
 
On further analysis, the Blue Water Quality Board is making a change to the data it collects on fr...
[no replies]
Oracle C++ OCI Database connection
 
I am trying to port an application from Solaris to Linux. On Solaris, I used the Sun Studio C++ c...
[5 replies] Last: Mark it as answered. I'm glad you found your answer! (by kooth)
Compiling .h with .cpp on linux?
 
I have been compiling on linux using g++ in the terminal. I am not using any IDE's which I can if I ...
[3 replies] Last: I recommend you to use makefile. Create a file named "Makefile" and pu... (by hungduongn)
November 2013 Pages: 12
  Archived months: [oct2013] [dec2013]

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