Search:

Type: Posts; User: starternewb

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    891

    yes, but what if they enter "exahttp://ple.com"...

    yes, but what if they enter "exahttp://ple.com" http still their but was not detected first, how can i make it so it has to be first, any ideas?
  2. Replies
    3
    Views
    891

    first characters in a string

    can anyone tell me how i would detect if "http://" was the first part of a string?

    eg "http://example.com" would be detected however "example.com" would not

    thanks
  3. Thread: Qt c++

    by starternewb
    Replies
    2
    Views
    1,137

    How would i use pipe(), fork(), exec() etc to do...

    How would i use pipe(), fork(), exec() etc to do a "wget google.com"?

    Also i will want to return the stuff that would normally be printed into terminal into a text area in a gui
  4. Replies
    1
    Views
    2,009

    libcurl to file

    does anyone know how to libcurl but get it to save the result to a file eg bla.txt

    libcurl - simple.c this gets it into memory
  5. Thread: wget in c

    by starternewb
    Replies
    4
    Views
    8,423

    ah, thank you that worked i installed via fink...

    ah, thank you that worked

    i installed via fink and it put it in a different dir not /usr/bin/wget as usual

    ----

    i tried this to get the location inside the c program

    popen("/usr/bin/which...
  6. Thread: wget in c

    by starternewb
    Replies
    4
    Views
    8,423

    I tried this #include #include...

    I tried this



    #include <stdio.h>
    #include <stdlib.h>

    int main(int argc, char *argv[])
    {
    popen("wget http://google.com", "w");
  7. Thread: wget in c

    by starternewb
    Replies
    4
    Views
    8,423

    wget in c

    it is possible to send bash commands into a c application right?

    for example if i wanted to do a "wget http://example.com" inside a c application how would this be done?
  8. Replies
    7
    Views
    1,588

    wahoo, thanks everyone for the help much...

    wahoo, thanks everyone for the help much appreciated!
  9. Replies
    7
    Views
    1,588

    so char* bla1, bla2, bla3; means all the...

    so

    char* bla1, bla2, bla3;

    means all the bla1..2..3 are all now pointers?

    or it means just bla1 would be a pointer and bla2..3 are chars?

    ---
  10. Replies
    7
    Views
    1,588

    newbie question pointers

    Im very new, what does this mean when a * is in this location

    char* val;

    I noticed its used here Cprogramming.com Tutorial: Pointers however it is applied to the val and not char

    char *val;
Results 1 to 10 of 10