• Forum
  • UNIX/Linux Programming

UNIX/Linux Programming

by admin
Welcome to this board!
 
Welcome to the forum for UNIX and Linux programmers in C++.com! In this forum, users can to talk ab...
[no replies]
by aminaa
proc
 
I would know how write a function that chows the state of a processus;its argument is PID of a proce...
[1 reply] : What do you mean by "state"? If you want to know about a process, you ... (by Smac89)
how do i make parent directory, sub dir, then files at once?
 
the book says to use mkdir and touch to create a directory called "Unix1b" within my home directory ...
[2 replies] Last: showing green means that it has read/write/execute permissions for all... (by Smac89)
The exceptions are not being caught.
 
Hello, Looks like that none of exceptions are being caught. e.g. if I run a code below it will no...
[4 replies] Last: Thanks guys, I got it now. (by vincegata)
Parent detect when forked processes exit
 
I'm trying to write a program that will fork a number of children processes that will run concurrent...
[2 replies] Last: Awesome, thanks! (by Dosteven)
.so Files Question
 
I apologize if this isn't directly related to C++, but I was wondering if .so files work like .dll f...
[4 replies] Last: Supporting one distribution is beyond easy. Supporting multiple is wha... (by computerquip)
Using stat() outside of main() - getting incorrect info
 
For a project, I am use to write a programs that the user provides an inode number and the program r...
[1 reply] : struct stat sb; printf("FILE:\t\t\t%s", file); printf("FIL... (by Cubbi)
linking error, undefined symbol
 
Hi!! i'm writing a source code for extending Snort IDS. What i have is a source and a header file. ...
[3 replies] Last: tryuterrrgtry675 (by FrankWurm)
Badly placed ()'s
 
Hey guys, This is my first post so bear with me... In Linux I am writing the simplest c++ pro...
[4 replies] Last: Try this: #include <iostream> #include <string> #include <sys/types.... (by Galik)
Segmentation fault (core dumped) when using clone() system call
 
I'm trying write small test code using clone() system call. /* * test.c */ #include <stdio.h> #i...
[5 replies] Last: You may find this article useful. http://www.linuxjournal.com/article/... (by kbw)
Best Make System
 
Hi I do a lot of programming in C++ on the windows platform, and I do a lot of Java on the UNIX p...
[11 replies] Last: Thanks. (by kbw)
Bitwise shift operation
 
Hi everyone, I want to know what happened internally in bitwise shift operation. What happen...
[1 reply] : The hardware can probably do value >> 10 in the same time as value ... (by Peter87)
compiling c++ programs in ubuntu g++
 
hi every one i am new to c++ programming. i got an error as shown below "root@ubuntu:/home/ramr...
[3 replies] Last: Include <cstring> before using memcpy. (by Peter87)
how to compile cpp program using g++
 
Hi everyone, I have so many cpp programs. I used makefile to link all object files together. Inside ...
[3 replies] Last: In the terminal, navigate to the directory containing your files with ... (by awesomeprograms)
by sangvv
Diffrent speed in UX and Linux
 
Hi all, I have small project have two thread. Thread one put message to queue (lock – put – ...
[10 replies] Last: vchbvfcjnyt (by JohnTibbits)
Having problems compiling my .cpp file on a linux machine
 
For some reason my code is not compiling on a linux server. It gives me several ofstream, ifstream, ...
[3 replies] Last: Hi, Please show us the errors your getting, any compile or linkage er... (by quarkonium)
link error undefined reference to vector<String>
 
I have compiled the dependent files of my source file mycpp.c and linked the files in the order whic...
[1 reply] : Template classes have to be defined completely in the header. How old... (by PanGalactic)
Serial port NonStandardBaudrate on "FTDI to Serial converter"
 
Hello. I Have to set a non standard baudrate on my buffalo wzr-hpg300nh (openwrt linux backfire 10....
[no replies]
cannot execute binary file
 
Hi when I run my program, I got "cannot execute binary file". Why is that so? If anyone know, pls ki...
[5 replies] Last: and u shouldnt compile as root because then you can only edit and comp... (by DTSCode)
display image when received
 
Hi everyone, I wrote TCP/IP socket programming in c to transfer image from client to server. My prog...
[no replies]
Pages: 1234
  Archived months: [dec2012]