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. -___-
Type: Posts; User: astral
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. -___-
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...
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...
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.
Fixed, it seemed some code went missing as I copied it.
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...
Such a simple solution, how did I miss that. Cheers.
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:
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...
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...
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...
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...