• 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]
Static library dependency
 
Hi. What command would you use to find the object files, static library libc.a depends on in /usr/...
[2 replies] Last: thank you (by csstudent123)
WC program
 
Good day to all, So, I`m supposed to test this word counter program: #include <stdio.h>...
[4 replies] Last: Run the program like so: ./a.out <<< "this is a string" where a.o... (by Smac89)
The weird problem using void alarmHandler(int signal_number)
 
I am writing an "void alarmHandler(int signal_number)" to register the signal SIGALRM. The handle...
[1 reply] : post a minimal snip that does reproduce your problem (by ne555)
Error in file reading
 
Guys I made a program to split a file into 11 different files based on the word length of its conten...
[2 replies] Last: Oh! I took That input but forgot to use it. Thanks for finding the mis... (by Pterodactyl)
by Gyiove
Multithreading having terrible times on linux.
 
Hello everyone! I managed to get this mutlithread working on windows just fine. I'm not sure how...
[6 replies] Last: That was my idea and now i understand that it can not be done that ho... (by Disch)
piping to script
 
$ ls -la | myScript.sh How can I using sed do the following? 1. Total number of lines read. ...
[4 replies] Last: thanks (by csstudent123)
Build kernel
 
Hi everybody, For completing my assignment, I have to add a file named "number.txt" to the kernel...
[no replies]
Check output from the commend problem
 
I want to check the output from the commend and print out different thing I did successful print out...
[no replies]
Program run perfectly without error but cant show anything
 
This is my program,what I want is do this program to check how many bytes,lines and words inside any...
[2 replies] Last: after I type wc test.cpp it will pop out the 3 num and 1 file name,exa... (by guankin)
Control Optimization Problems
 
Hi, I'm compiling my program using various optimization options. I noticed that whenever I compile ...
[11 replies] Last: But this thread is trending away from the purpose of me posting my qu... (by Alrededor)
NCurses alternative
 
Hey, I was wondering if anyone knew of an alternative for NCurses for C++, I know you can use it wit...
[3 replies] Last: You're welcome! I'll check when I get home today; however, I think th... (by koothkeeper)
Compiler for mac os
 
Hello, I just tried using Mac for programming, I need to find a compiler. When I tried ruby -...
[19 replies] Last: why not just use clang? and i believe the proper exe name would be g++ (by Little Bobby Tables)
HOW does WC work ?
 
when I type in wc file.txt I get something like: 1 1 6 file.txt BUT when i write wc *.txt I get...
[6 replies] Last: thanks...what is a sentry object btw? These terms r too technical as I... (by csstudent123)
cmake, make for creating library??
 
Hi, i dont quite understand what exactly do we get as a result when we run command cmake and make th...
[2 replies] Last: Tnx for the tip, when I'm going closer to actually writing this app th... (by etrusks)
Send and receive data through serial port In linux
 
I want to be able to detect every serial port device connected to the computer, and I want to be abl...
[1 reply] : On Linux, and UNIX, most devices can be thought of as files, and as su... (by koothkeeper)
Battery Info
 
How do I get the battery percent, if the battery is charging or not, if it is connected to the ac ad...
[2 replies] Last: And yet another more elegant option is to use D-Bus. See what you can ... (by deu439)
Shared Libraries
 
I want to create a shared library in c/c++, using eclipse IDE, to use with labview in Linux. I was w...
[no replies]
Application distributable
 
Is there a way to package a c/c++ app so that it can be distributed and installed in various linux d...
[2 replies] Last: Is there a way to make different distributable packages for the differ... (by nando88)
by Ema
Please help me!!! it is an urgent, what are the smallest floating-point numbers in c++ and java?
 
Please, can anyone tell me what are the smallest floating-point numbers in java and c++?
[1 reply] : [quote=Ema]Please, can anyone tell me what are the smallest floating-p... (by LB)
Pages: 12
  Archived months: [feb2015]