UNIX/Linux Programming (Page 2)

New! Join the C++ community on Google+
by Copy
Trying to compile C++ with g++ in Unbuntu
 
Well, I've followed all the tutorials and it's still not working. I don't know where else to turn ca...
[10 replies] Last: @halitciftcise Firstly you handle your directory to as home -> in co... (by TheIdeasMan)
sockets question
 
Hi, all - I'm really new to sockets, so please forgive me if this question is painfully simple. I'...
[8 replies] Last: And here's the section of the code that calls the above functions: ... (by mzimmers)
Error text on console screen
 
hello i got a problem , error text on console . Linux debian 6.06 in virtual box , the IDE is cod...
[7 replies] Last: I hope you didn't use halitciftcise's solution. It's corrupts the hea... (by kbw)
Check if a file extension exists in a directory
 
I am working on some code to talk with a printer. I am communicating with the printer through a tcp ...
[9 replies] Last: Nevermind, I got it. I need to re-initialize my stringstream variable ... (by zonxwedop)
Break a look cycle within a phread
 
Hi. I want to send a signal to a pthread so it can break the cycle it is performing. void sig_fu...
[7 replies] Last: But Cubbi... That's exactly my problem! I want to stop the thread to e... (by amariano)
by Kny069
How to compile for i486
 
Hi, I've made an easy C++ program and compiled it with my desktop-pc (i686). The program runs on ...
[1 reply] : Have you checked on their forum? I would have thought that cross comp... (by kbw)
Getting all global variables from compiled file (linux). How to separate static from const?
 
So, I have something really strange here. For example I have 2 .cpp files, one of them containing...
[no replies]
non uniform text file parsing
 
hi, i am trying to parse a collection of text files that look like following. there a number of...
[1 reply] : Looks like that would be a pretty straight forward job for boost spir... (by Cubbi)
usage sample<options>
 
Hi, forgive me if the question i am asking is too simple or obvious, i am relatively new to program...
[1 reply] : Did you try: ./sample -c -k 4 -i input.txt -o output.txt Just a bi... (by TheIdeasMan)
Daemon to log keystrokes?
 
Hey. I want to log all keystrokes by a script running in the background. I know that this is possibl...
[no replies]
[MAC] Get current keystate
 
Hey, I'm trying to make a basic keylogger on my Mac to pull a prank on my friend. Anyway, I need to ...
[no replies]
Shell Script
 
Hi I am trying to make a shell script in the Ubuntu terminal that can read a password for the text f...
[1 reply] : man sudo && man shutdown (by Athar)
Need help with setting env variable inside system call
 
I have two processes. I want to set an environment variable in one process and check it in another i...
[1 reply] : Environments are inherited, it's not a global resource. The two apps ... (by kbw)
by Katma
SegFault before main even runs?
 
I'm getting a segfault before the program even gets to main. It compiles just fine, but not beyond t...
[4 replies] Last: I'm using the compiler built into my school's csc server. Linux clas... (by Katma)
using pipe
 
Please, help me to understand how to use pipe!! I write the console application under Unix. Here is...
[no replies]
Difference of calling external application and library
 
Hello, is there any difference in regard to attributes and autorization between calling an extern...
[1 reply] : If your application is running as root, anything it does is done as ro... (by Zaita)
delete uesr
 
how can i delete some users from terminal
[2 replies] Last: that's right!!!! (by cherraqi)
by Ritu15
Makefile
 
please tell me the code of make file for my following program.... tha Employee.cpp file is #incl...
[3 replies] Last: You should put the dependency (by ne555)
by Ace93
Ostream&
 
Editing code for class and i get the error: basic_demo.cpp: In function 'void print(std::string*, i...
[4 replies] Last: I've tried: 26 bool add(std::string arr , int &n, int maxN, std::str... (by Ace93)
Detect mouse click in Terminal (Ubuntu server)
 
I want to solve a pretty easy problem. I just want to detect a mouse click under Ubuntu Server(witho...
[3 replies] Last: ertt (by IraMelton)
Pages: 1234
  Archived months: [oct2012]

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