Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: n_techo

Search: Search took 0.00 seconds.

  1. Re: I wish to replace spaces with underscores in a sting

    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;...
  2. Re: I wish to replace spaces with underscores in a sting

    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...
  3. Re: How do I find out if a program is running in "C" (this is linux)

    you mean something like:


    if (system("pstree | grep -o "progname" | head -n 1") == "progname"); {

    /* program is running */

    /* do something here if program is running */
  4. How do I find out if a program is running in "C" (this is linux)

    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...
  5. Replies
    1
    Views
    623

    Re: Executing a child process in "C"

    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...
  6. Replies
    1
    Views
    623

    Executing a child process in "C"

    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...
  7. Solved, I wish to replace spaces with underscores in a string

    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...
  8. Re: I wish to replace spaces with underscores in a sting

    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...
  9. Re: I wish to replace spaces with underscores in a string

    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>
  10. Re: I wish to replace spaces with underscores in a sting

    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...
  11. I wish to replace spaces with underscores in a sting

    Hello experts
    maybe this is simple for you,

    I have the following function.

    void replacestring() {

    quality = quality->Replace(" ", "_");

    }
Results 1 to 11 of 11


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center