UNIX/Linux Programming (Page 2)

Suppressing the GCC warning: "<term1> is obsolescent, use <term2> instead."
Hi, I've been programming in C++ for years, but I am new to programming on Linux and gcc/g++. My...
[4 replies] Last: that warning is incorrect by the way, the replacement for gethostbynam... (by Cubbi)
dsr/linkcache .cc: fatal error: list.h: no such file or directory.
I am using NS2 and Ubuntu 12.04.5 LTS I uesd "make" to recompile NS2. I got the following error: ...
[no replies]
by AdamT
nested if optimization with a lock in between
Hi Is it possible that a compiler optimize the second if statement in the following code, (x is an ...
[1 reply] : Does the standard say anything in this case? Have you tried reading ... (by Zaita)
gdb debug issue about "main.cpp No such file or directory."
I just start learning to use gdb. I am debugging a program using gdb. I firstly start the program th...
[no replies]
Caesar Cipher Trouble Keeping letters lowercased and upper cased
Please help me correct this code. 3rd post is where the code is at
[3 replies] Last: That's really complicated. Anyway, the algorithms, do they seem right... (by kbw)
Cross-Compiling Find Mysql/Connector on Linux with MiniGW
Hello How do you detect the MySQL CPP Connector on Linux on Ubuntu(Linux) using GCC, or MingGW to c...
[no replies]
server with socket - ip listening
hello, I'm writing a Class to make a simple server with sockets. So I need to learn what are ip-ad...
[1 reply] : We've posted sample servers before, you can search the site. But the s... (by kbw)
by Ozzy69
Help with file in c++
Hello, How print of the file of end of file for start of file. Because this normal this start and g...
[3 replies] Last: You have to read the file in and store it in a container that can be s... (by kbw)
by RaduV
What is the difference between 64-bit and 32-bit software?
Is the difference primarily in the build process, or is it in code as well? Can I download any sourc...
[4 replies] Last: My only question is if/how a single piece of software can be compiled ... (by RaduV)
Mac keychain an C++
What is the easiest way to write a command in C++ that detects if the mac keychain pops up. I want ...
[no replies]
by Ozzy69
Help me with file
Hello, I dont print of code: I want print of last line until the third line of file, look my code:...
[no replies]
Fork question
A question asks how many processes are created at the end of the loop below. #include <stdio.h> #...
[3 replies] Last: I actually misread the solution. I was looking at a solution to a diff... (by DyslexicChciken)
by zolo
configure file fails when checking mpi (1,2)
Hi, I am trying to compile the blochlib-1.2 libraries on Ubuntu 15.04. After compiling the fftw3 ...
[20 replies] Last: Thanks Krisolafson. I might try to submit a report but I think the lib... (by zolo)
by shome
need to parse a txt file line by line forward or backward
I need to read a txt file line by line. On pressing the right arrow buttton it should read the next...
[1 reply] : Please do not double post. This is a duplicate of http://www.cplusplus... (by kevinkjt2000)
What process does fork(); create ??
The title of my thread says it all.. I've just started learning Operating System.. My question may ...
[6 replies] Last: x=4+6; is a statement. On the other hand, see: <https://en.wikipedia... (by tcs)
by esolve
how to properly deal with send/write with a non-blocking socket?
I have a socket which is used to receive and also send packets. And the pseudo codes are: se...
[1 reply] : The whole point of using non-blocking sockets is allow you to do stuff... (by kbw)
Different output in Linux
I've created my code in Microsoft Visual Studio Express 2013 and it compiles and runs fine. I've mov...
[11 replies] Last: > I've changed that part http://www.eelis.net/iso-c++/testcase.xhtml (... (by ne555)
Sender - Receiver with fifo
I have to write a program that consists of two parts. First part from argv receives name of file, t...
[1 reply] : Start by finding out what a fifo is and checkout examples of how to us... (by kbw)
by zolo
linking openBLAS
Hi, I have yet again run into a compilation problem. I have downloaded the openBLAS libraries and...
[1 reply] : ok I figured this out. This leads to error because of number of white ... (by zolo)
Terminal Commands
Hi There, I have to write a program which takes "ls" command (that displays the list of files in li...
[1 reply] : Duplicate post. Please don't do that. http://www.cplusplus.com/forum/g... (by kbw)
Pages: 123
  Archived months: [sep2015]

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