Search:

Type: Posts; User: std10093

Search: Search took 0.05 seconds.

  1. Replies
    11
    Views
    6,145

    Isn't it nice when you find the solution by...

    Isn't it nice when you find the solution by yourself? ( With some ideas from other people, but still it seems that you did understand ;) )

    A last tip : I wouldn't print all the pointers. I would...
  2. Replies
    11
    Views
    6,145

    argv[0] containts the executable name, argv[1]...

    argv[0] containts the executable name, argv[1] will contain the first string and so on...

    So what I said before in code is this


    for(j = 1, i = 0; i < argc-1; i++, j++)


    Of course do not...
  3. Replies
    11
    Views
    6,145

    for(j = 1, i = 0; i < MAXCHARS; i++, j++) How...

    for(j = 1, i = 0; i < MAXCHARS; i++, j++)

    How many strings should you copy inside your array?
    - I should copy inside be array as many strings as the user gives in the cmd

    How many does he...
  4. Replies
    11
    Views
    6,145

    Read the comments. #include ...

    Read the comments.



    #include <stdio.h>
    #include <string.h> /* strcpy */
    #include <stdlib.h> /* malloc */

    char **get(int n, int m) /* Malloc the 2D array (n x m) */
    {
Results 1 to 4 of 4