Search:
Type: Posts; User: n_techo
Search:
Search took 0.02 seconds.
-
October 12th, 2012, 06:36 AM
I must say truthfully I like your solution the best, and am most grateful for the time you spend explaining this stuff to me.
can I output the result to a different string with your solution like;...
-
October 12th, 2012, 05:43 AM
this was my solution
name2 = g_strdup (quality);
name2 = g_strdelimit (name2, " ", '_');
all of 2 lines
I included all of the code of the file I was working on, this was all I needed to...
-
October 12th, 2012, 01:25 AM
you mean something like:
if (system("pstree | grep -o "progname" | head -n 1") == "progname"); {
/* program is running */
/* do something here if program is running */
-
October 11th, 2012, 11:50 PM
In bash I can find out if a program is running and do stuff if it is running or not running
the code in bash
if [ `pstree | grep -o "progname" | head -n 1` = "progname" ]; then
echo...
-
October 11th, 2012, 11:39 PM
I have made the same script in bash,
If iwas to execute this script as a child process I would do something like
bash -c 'script &'
I wish to achieve a similar this in "C"
I know this...
-
October 11th, 2012, 11:18 PM
Anyone know how I can run this as a separate process from the parent program, like a child process,
and return the result back to the parent program.
this script is as follows.
if file...
-
October 11th, 2012, 10:29 PM
The code that I have submitted on this thread is a single function "darkice_config_store"
so when I used.
quality = (g_strdelimit (quality, " ", '_'));
then the above code became part of...
-
October 11th, 2012, 08:57 AM
I found the solution and am posting here for other people if they have the same problem, I needed to replace spaces with underscores, the program uses a gtkcombo box, where you can enter, a name for...
-
October 11th, 2012, 08:33 AM
Sorry about that I send you the wrong version of this file
here is the code again.
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <libintl.h>
-
October 11th, 2012, 08:18 AM
thankyou so much for your reply, sorry I send the wrong version of this file
here is the code;
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include...
-
October 11th, 2012, 05:47 AM
Hello experts
maybe this is simple for you,
I have the following function.
void replacestring() {
quality = quality->Replace(" ", "_");
}
|
Click Here to Expand Forum to Full Width
|