Search:

Type: Posts; User: johnny8888

Search: Search took 0.01 seconds.

  1. someFunction( char (*a)[n][n], int (*b)[n] )...

    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...
  2. sorry, I want to pass the whole array into the...

    sorry, I want to pass the whole array into the function, not one element in the array.
    how abt the declaration in the function?
  3. how can i pass 2d and 3d array by reference?

    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...
  4. Replies
    7
    Views
    18,786

    My situation is that I stored all the parameter...

    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...
  5. Replies
    7
    Views
    18,786

    i am not wanna have argv command.........i want...

    i am not wanna have argv command.........i want to use scanf to the stdin, is that ok??
  6. Replies
    7
    Views
    18,786

    How to read input from stdin

    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...
Results 1 to 6 of 6