UNIX/Linux Programming (September 2008)

question How do I run a Shell Script/shell commands within C++?
 
Hi, I'm somewhat of a beginner at C++ (only been around OOP for 6 months or so now - started with...
[6 replies] Last: How we write code of ipc ,socket and thread with c++ as all the ipc me... (by lipune)
post Generate Permutations.
 
Hi , I want to Generate Permutations of 5 digit with numbers 1 to 6. How Can i go about it ? Im usi...
[4 replies] Last: Thankyou HaHai. (by ashmew2)
by albogp
post Segmentation Fault in Shared Memory
 
Hi all, I found "segmentation fault" error when i tried to read the shared memory struct. I defi...
[2 replies] Last: Hi jsmith, I have found the problem. It just because some pointer p... (by albogp)
post how to restore terminal text colors after changing it?
 
hi, I tried changing my terminal text and background colors with printf it worked. But how do i sav...
[2 replies] Last: DUOAS Thanks for yr help it worked. thank you. (by suanhwee)
by vac1
question how to do a reserve engineering to a binary file?
 
Dear all, I wonder is there any way to get our source code once after compiled to binary? let say ...
[2 replies] Last: I will try that. Thanks (by vac1)
post MySQL++ with C++
 
I also posted this in the "Beginners" forum. Really hoping for help. I'm trying to use MySql++ ...
[no replies]
post Dynamic Lynker Error
 
Hi, everyone. I am working on a project that involves using a few shared libraries. I use a make fi...
[3 replies] Last: hooked, you were exactly right. For some reason I thought that the LD... (by deboJackson)
question how to clear just 1 line in a terminal
 
hi, guys... I'd like to know how to clear just one line in a terminal... if I use "clear"...it...
[2 replies] Last: thanx...very useful! (by flyersender)
post Pointer problem
 
Hi, first of all, the code: RPC<uint32> local_catalog_address = remote_qp.get_local_catalog(); ...
[4 replies] Last: Ok, I understand Thanks so much, i will try in another way (by Vincenzo)
post Searching files with a specific extension
 
Hello all! I need to create a procedure that is a loop for searching files with a specific exten...
[2 replies] Last: Thank you... it will surely help me :) (by ricardo schmidt)
by vac1
post gcc -03 , what kind of option it is ?
 
Dear all, I had to use this option in gcc to compile, because i follow someone's program. But i do...
[3 replies] Last: http://gcc.gnu.org/onlinedocs/gcc/Invoking-GCC.html GCC does not ha... (by Duoas)
post How to use Time(1) in linux
 
Hello, I have this project where I need to time how long a certain process take based on the system...
[1 reply] : http://linux.die.net/man/7/time (by Duoas)
by vac1
post & symbol,???
 
Dear all, i have found some line someone's program that use & symbol in condition statement and use...
[1 reply] : && is the boolean "AND" operator. & has two meanings: 1) it can b... (by jsmith)
by quant
post raw-socket data
 
I want any ideas from your side about data transfer via raw. I've client-side, but don't know how t...
[2 replies] Last: Strange, but in sniffer capture don't view that text. The packet check... (by quant)
by pfoh
post raising SIGUSR on key press
 
What is the best way to have a keypress raise a user signal? I dont want a to use a thread that rea...
[1 reply] : That seems to be a very odd way to do it. Most applications will imple... (by Duoas)
by Ruben
post Introducing a Template as a parametre of another Template
 
Hi, I'm trying to define a library which needs an undefined parametre to be passed as a template ...
[6 replies] Last: Thank you jsmith! that's almost what I wanted. I didn't know I could i... (by Ruben)
post Reading a whole folder
 
Hi, I am currently working on a program that reads numerical data from a file and analyzes it (sear...
[1 reply] : There are a lot of ways to do it. I suggest you start here: http://li... (by Duoas)
post Introducing a new project for AI lovers
 
Hi guys, I'm the maintainer of Imperfect world of Robots (http://www.iworproject.org), and I'm he...
[6 replies] Last: Yes, that would be alright, as long as it works! When you done this... (by aidin36)
question NetFlow packets
 
Hello I want to capture NetFlow packets that was sent by fprobe. The fprobe is on my local machi...
[no replies]
post How to get system time in Linux using C++
 
Hello, I have a project where I need to time how long a particular action takes within my program u...
[3 replies] Last: You do know that section 7 is basically "overview and how-to", right? (by Duoas)
by tqa
post Ping function
 
//Digraph Class Template #include <list> #include <vector> #include <queue> #inc...
[2 replies] Last: i am using the Linux os.. so, this header file are needed. #... (by tqa)
by vac1
question How to get number cycle in my c program ?
 
Dear all, I like to get how many cycle does my machine needs to run my c program? Please, give me ...
[3 replies] Last: Thank you for the responds, What i meant by number of cycle is, the t... (by vac1)
post error: 'display' was not declared in this scope
 
Hi i developing a calculator by using kdeveloper and Qt and i have the following error when i ...
[1 reply] : It means that each time you try to use that display variable th... (by Duoas)
post Sending a file to HTTP server via a multi-part flat form
 
Hi, I need to send a flat file to http server. The file that needs to be sent is an xml file which ...
[10 replies] Last: So you want other people to be able to upload files? Why not just have... (by Zaita)
post invalid types ‘double[int]’ for array subscript
 
hi guys i am developing a calculator through a certain tutorial and i came up with the following ...
[2 replies] Last: Thanks man you have been very helpful! i discovered other errors a... (by roncriss)
post How to use EVP_DigestInit() in Linux
 
Hello, I have this project where I have to give the user the option to apply MD4, MD5,or SHA1 in C+...
[no replies]
post no newline warning
 
How can I stop the compiler from giving a warning when there is no new line? I write code using Vis...
[1 reply] : I've yet to get MS's VC++Express to install on my PC (stupid nonsense ... (by Duoas)
post simple process synchronization
 
How to make a program which fork() child process then do simple process synchronization to guarantee...
[6 replies] Last: Google is a cranky friend. For unix stuff, you can usually google f... (by Duoas)
post Printing Text & Graphics
 
Hello, I am writing an application for Linux and need to generate a daily report. Currently I put...
[1 reply] : You could get familiar with the OpenOffice file format. It's just a Ja... (by Zaita)
question Streambuffer to read from file descriptor
 
Hi folks, I'm trying to read from a file descriptor using a stream buffer. Here is a little test ...
[3 replies] Last: ...only if you have a buffer. If you don't you have to override both. ... (by Duoas)
Pages: [1] [2]   Archived months: [aug2008] [oct2008]

This an archived page. To post a new message, go to current page.