Search:

Type: Posts; User: astral

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    2,222

    LOL, I'm such a dumbass. I never even noticed for...

    LOL, I'm such a dumbass. I never even noticed for a second, that they were "name" instead of "id", spent the whole of yesterday and today googling javascript var bugs. -___-
  2. Replies
    6
    Views
    2,222

    Javascript simple question

    Sorry I know this place is mainly for C. But I don't really want to have to register to another site for this JS question. (I'm sure a lot of you have dealt with websites anyway ;) )

    This question...
  3. Thread: Segfault

    by astral
    Replies
    8
    Views
    2,733

    Thanks, initializing each charArray(1-10) with a...

    Thanks, initializing each charArray(1-10) with a memory location that fixed it. I still don't understand how the first 2 charArrays (1,2) were able to function correctly, then always crashed at 3...
  4. Thread: Segfault

    by astral
    Replies
    8
    Views
    2,733

    There is no missing brace. And argInput() gets an...

    There is no missing brace. And argInput() gets an argv[] from main, well it successfully grabs the first 3 argv, as shown by the output.
  5. Thread: Segfault

    by astral
    Replies
    8
    Views
    2,733

    Fixed, it seemed some code went missing as I...

    Fixed, it seemed some code went missing as I copied it.
  6. Thread: Segfault

    by astral
    Replies
    8
    Views
    2,733

    Segfault

    I've debugged my program, and I just can't figure out what's wrong. So I gave up and will just post my program, hopefully someone can fix it. Probably something to do with pointers, I attempted to...
  7. Replies
    4
    Views
    1,371

    Such a simple solution, how did I miss that....

    Such a simple solution, how did I miss that. Cheers.
  8. Replies
    4
    Views
    1,371

    argv, taking random char input

    Hi, how can you pass any char as an argument to a program e.g. $ and simply place it as a char, not a variable.



    int main(int argc,char *argv[]) {
    ...



    Here is an example:
  9. Hi, I tried to do it in C, however I found it too...

    Hi, I tried to do it in C, however I found it too difficult, I ended up trying to create child processes for each execution of file and feed results to parent. I attempted to keep the entire program...
  10. Done it guys, cheers for the help. Here's the...

    Done it guys, cheers for the help.

    Here's the single-lined code to do everything, which I ended up creating. Executes in around 1(s), awesome.

    This a "SHELL" command (any *NIX type OS will have...
  11. I don't think you understand the question. ...

    I don't think you understand the question.

    That will not work, since each file won't receive the output, as a parameter for there input.

    The part you quoted, is what I haven't done and is what...
  12. Piping OUTPUT from 1 script, and using it as INPUT for a different script

    Hello world

    I have a simple question, taking output of one file, and using it as input for another. I've been googling around for a long time, found lots of code but it doesn't do what I'm looking...
Results 1 to 12 of 12