• 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 bmb94
Start Foreground and Background Jobs
 
Hello, I am trying to write a program using C++ that can start the stopped jobs in the foregroun...
[no replies]
wstring could not print ISO8859-2 characters on Linux
 
I could not get ISO8859-2 characters written in file or printed out through wcout. I am using follo...
[5 replies] Last: save it as UTF-8 That means you are not using ISO 8859-2. There is n... (by Cubbi)
by debo13
Error compiling when including tr1/memory
 
Hello, I have got a strange error with a very simple code : #include <tr1/memory> int main(...
[5 replies] Last: These problems are very common and I recommend detecting them as quick... (by benhart)
Segmentation fault on linux
 
Sorry that I am new to linux, I don't know how can I fix the Segmentation fault. I will be very grat...
[13 replies] Last: As a new I recommend taking some courses on the web as they can really... (by benhart)
OnButton1Click(event); C++, Code::Blocks, Linux
 
I'm converting a simple demo app from Code::Blocks Windows to C::B Linux. One issue I've encountere...
[5 replies] Last: I haven't used wxWidgets, but this could be an issue with codeblocks. ... (by newbieg)
df
 
fgf
[1 reply] : Design a program Yes that is a good idea :+) You need to do more... (by TheIdeasMan)
by romeoo
Malloc and Free unsigned char!?
 
please help me. i want to Read/Write fingerprint module by serial port, and to this approaches i s...
[8 replies] Last: /* malloc example:*/ #include <stdio.h> /* printf, scanf, NULL */ #i... (by archdev)
How to display the longest word in a string.
 
In my code, I am trying to display the longest word within my text file. I've seen been successful i...
[6 replies] Last: @TAdgoke You should say who's post answered your question, why was it... (by boost lexical cast)
SQLite & C++ in Code::Blocks, -l -pthread mystery
 
I'm trying to move things from Windows to Linux, with SQLite, but things are not 1:1. I can use sql...
[7 replies] Last: It looks like adding dl in the Debug, Linker Settings, Link lib... (by Steve02)
copying one chartor at a time
 
Hi, I want to copy "hello" letter by letter but when it hits e i want to skip it so that it prints "...
[2 replies] Last: how do i make it so the "cin" is the variable and the "cout" would be ... (by badboy1245)
Beep ( )
 
How do I make C++ beep ( ) working on my Mac. I know it's stupid but I add windows.h. My code is her...
[2 replies] Last: Never knew Mac was related to UNIX/Linux. If it was Linux I would find... (by boost lexical cast)
Program runs incorrectly when not run in terminal
 
I am running Linux (Debian Jessie 8.7 stable) with the LXDE desktop environment. I have created a p...
[2 replies] Last: @Peter87 [quote=Peter87]The working directory is probably different w... (by boost lexical cast)
Undefined reference to
 
Hello, I'm trying to find out why I get this error. The test code is as follow: main.cpp: ------...
[1 reply] : All of the template code has to go in the header file. (by TheIdeasMan)
by qtsoft
64 bits(8 bytes) time stamp
 
I'm not sure where to post this, but here goes: I'm trying to understand how a binary file (.ol...
[2 replies] Last: It appears to be a double number dumped into the file: const unsigne... (by helios)
by EvenH
Replacement for conio.h on mac
 
Hi I want to make games that use AWDS(keyboard-commands), but i just found out that conio.h does...
[1 reply] : https://discussions.apple.com/thread/1176684?tstart=0 (by Thomas1965)
Compile .cc and .cpp files using single command in makefile
 
hello, I want to include .cc files in an existing embedded c++ SDK. There is a rule in the Makefi...
[6 replies] Last: You can run make -p and see a detailed rules. I also recommend a good ... (by benhart)
Need help understanding what to do(read, write, getopt)
 
So i have an assignment to due for my UNIX class were I need to implement these features to a progra...
[5 replies] Last: Here is code to parse the command line using getopt #include <iostrea... (by dhayden)
by halfs
How do I get pqxx (the C++ API for Postgres) to work when my database authentication requires a password?
 
I installed C++, Postgres, and postgresql-devel on CentOS 7.3. I installed libpqxx-4.0 too. I then ...
[1 reply] : Never heard of, but a websearch ... http://stackoverflow.com/questions... (by keskiverto)
Installing linux on a laptop with no windows
 
My Dell laptop does not have a windows. The windows got problems, and right now the laptop is almost...
[3 replies] Last: Is it possible to install an operating system (OS) on a laptop that ha... (by keskiverto)
  Archived months: [feb2017]