someFunction( char (*a)[n][n], int (*b)[n] )
that is in the call function, right?
but how to write the declaration
someFunction( char *a, int *b)?
sorry for my foolish question, i have not write...
Type: Posts; User: johnny8888
someFunction( char (*a)[n][n], int (*b)[n] )
that is in the call function, right?
but how to write the declaration
someFunction( char *a, int *b)?
sorry for my foolish question, i have not write...
sorry, I want to pass the whole array into the function, not one element in the array.
how abt the declaration in the function?
in the main function, i created 2 arrays, one is 2d array and another one is 3d, i want to pass thoes array to the function for some calculation. how can i write the function declaration??
int...
My situation is that I stored all the parameter in the text file call a.txt
i need to run my file in Linux server like this:
./a.out < a.txt
I am try to assign thoes parameter in the array of...
i am not wanna have argv command.........i want to use scanf to the stdin, is that ok??
I am writing the c program using linux shell, i want to save a batch of the input parameter in the text file, input.txt
i want to run my program like this
./a.out < input.txt
at that time, i need...