Search:

Type: Posts; User: Demonoid

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,183

    Need help identifying C variable types.

    Hi guys, I need help with identifying type declaration of variable p.

    I've attempted, but I am not certain of my answers.

    Can someone help me out please ?


    1)
  2. Replies
    1
    Views
    727

    Memory allocation problem

    I've got this memory allocation problem, can't seem to figure it out:


    #include <ctype.h>
    #include <stdio.h>
    #include <unistd.h>
    #include <stdlib.h>
    #include <string.h>
  3. Replies
    13
    Views
    1,372

    I seriously have no idea how to allocate memory...

    I seriously have no idea how to allocate memory in the array, if someone could give me some advice, please
  4. Replies
    13
    Views
    1,372

    ok, it prints: linker input file unused because...

    ok, it prints:
    linker input file unused because linking not done.

    I just don't understand why, inside the while loop it prints fine, but when I try to iterate the array outside the while loop, it...
  5. Replies
    13
    Views
    1,372

    It's asking my for input, and nothing later.

    It's asking my for input, and nothing later.
  6. Replies
    13
    Views
    1,372

    ok, I need need help with this last program: ...

    ok, I need need help with this last program:




    FILE *fp; <- this is just a file with numbers;
    << I'm not providing the entire sourse code, since it's irrelevant
    ...
  7. Replies
    13
    Views
    1,372

    Can someone tell me how to make this loop print...

    Can someone tell me how to make this loop print out values ? yes, I need a loop, not just a line, but a loop, because I will need to do other stuff with it later.



    for(y=0;y<4;i++)
    ...
  8. Replies
    13
    Views
    1,372

    Can't seem to print an array, HELP !

    #include<ctype.h>
    #include<stdio.h>
    #include<unistd.h>

    int main()
    {
    char *array2d[5][5];

    int c_1 = 1;
    int c_2 = 2;
Results 1 to 8 of 8