• 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 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)
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...
[1 reply] : The Microsoft-specific header file windows.h and the associated libr... (by mbozzi)
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)
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...
[7 replies] Last: I can't understand the use of a pointer in this piece of code, as the ... (by benhart)
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)
cp command
let say i have a file ~blah/Assignmnets/hello/754-0.txt i need to copy the 754-0.txt file into the d...
[3 replies] Last: ~user/ is user 's home directory, no matter who's logged in, but ~... (by mbozzi)
how to write binary file without deleting its previous contents
I am writing a binary file like this: const int sized = 300000000ULL; int ad ; ... ad = some valu...
[2 replies] Last: Open for append. Also, with something that large, you may want to con... (by kbw)
request for code review
Ladies and Gents, I need help, and I mean help in a big way. I've been working on my personal ...
[no replies]
by gh0099
wanna measuring please help!
Hello, I want to measure the time my function use to execute. I was trying to use time() and clock()...
[11 replies] Last: its useless in the vast majority of coding, you are not wrong. Ill a... (by jonnin)
by zxcvbn
Starting out PIC Programming
I've been looking into doing some PIC Programming, but unlike some of the other microcontrollers ava...
[1 reply] : Something easy to start out with is Arduino. There's an official IDE a... (by helios)
by siery
Unexpected behavior of ncurses printw()
Hej! I write a simple program using ncurses (that's the first time I use it), which should read the...
[4 replies] Last: I see I was because of this code: attron(A_ALTCHARSET); printw("a")... (by siery)
Compile Errors in Programming Assignment
I'm stuck on an assignment. For some reason, I keep getting compile errors. The project I'm working ...
[10 replies] Last: you can do it many ways. There is no conflicting info, it comes down ... (by jonnin)
Question on the use of Eigen::MatrixXf to form an array
As we know that in c++, the Eigen::MatrixXf can be used to define a Matrix with the dimension of (3*...
[3 replies] Last: Presumably you are referring to the Eigen template library, the online... (by Plover)
How to place multiple project in one list view in Xcode?
Dear friends, I am a beginner. I have used Python in Eclipse. One nice thing I like is that ...
[2 replies] Last: Thank you. Yes, I noticed Eclipse can and I installed the plug-in and ... (by landlord1984)
with question about grep
the command to enter the count of the number of emacs processes by all user when i enter ps -Af...
[5 replies] Last: What gives a hint? I don't think that neither ps nor grep should writ... (by keskiverto)
These small errors are driving me crazy
I am compiling with unix and getting these Errors: http://imgur.com/a/QYVUJ I can not find out how ...
[1 reply] : First off, please don't double-post. I know this is a bit of a gray ar... (by newbieg)
Pages: 12
  Archived months: [jan2017]