Search:

Type: Posts; User: ritter_kobbe

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    5,657

    I think the first string was red by your program...

    I think the first string was red by your program and your pointer
    has not allocated the proper memory for it, so printing the result
    (with your pointer) will print your string and a lot of mess...
  2. Replies
    2
    Views
    948

    in stdlib.h there is a function called getenv()...

    in stdlib.h there is a function called getenv() which
    can get some environment variables ...
    I suggest to read the man pages of this function.

    Otherwise, try the system() function ...
Results 1 to 2 of 2