Search:

Type: Posts; User: erikkonstas

Search: Search took 0.01 seconds.

  1. 1. argv is actually an array of pointers to char...

    1. argv is actually an array of pointers to char (char *), the first of which is at the memory address in the argv variable itself, which is why you're "requesting another pointer". Each of these...
  2. I want to point out that setting i to values...

    I want to point out that setting i to values above 0 does actually do something bad in your case: if your string's length is less than the initial value of i, you will be accessing memory you...
  3. Hm, bummer. I was trying to write some test...

    Hm, bummer. I was trying to write some test project which has a lot of functions and decided to split them in a few .c files but I guess I'll have to do either of these two. Thanks for answering,...
  4. "External" linkage between some files but "internal" linkage to the outside world

    Let's say I have a file f1.c with the following:
    int two(int a, int b) {
    return a + b;
    }And a file f1.h with the following:
    int two(int, int);And a file f2.c with the following:
    #include...
Results 1 to 4 of 4