Search:

Type: Posts; User: jenniferruurs

Search: Search took 0.00 seconds.

  1. Can somebody explain in parts what this code does?

    I am busy with learning C and could somebody explain in parts what this code does?



    //I am intrested in the mean of this (which is in a methode)
    struct node *link =(struct node*)...
  2. Malloc how unsuccesfully (not allocating memory)

    Bellow I show some code that I got from a tutorial.

    I am interested in understanding what are some changes that I can make to this code so that I will end up in the block:



    if (ptr ==...
  3. Replies
    1
    Views
    139

    int* ptr vs int *ptr;

    Is there a difference between

    int* ptr
    and

    int *ptr;

    I think there is not, but I want to now for sure.
  4. I have installed Cygwin but no GCC in my command prompt

    I have installed Cygwin but I have no access to GCC in my command prompt.

    How can I make use of GCC in windows from my command prompt?
  5. Replies
    5
    Views
    250

    Windows is not catching GCC at all, when I...

    Windows is not catching GCC at all, when I execute:
    gcc --version

    I get the message GCC not recognized in cm
  6. Replies
    5
    Views
    250

    I have installed cygwin en netbeans

    I have installed cygwin in Windows

    How can I execute a c file in Windows?
  7. Replies
    6
    Views
    485

    Linux is also possible: Is this what I need to...

    Linux is also possible:
    Is this what I need to enter in the Terminal?
    Because I get the error: error: No such file or directory


    pkg-config --list-all | grep ^glib glib-2.0 GLib - C...
  8. Replies
    6
    Views
    485

    'glib-object.h' file not found

    I have coded a piece of code on my Mac laptop and I want to execute it.
    When i execute the code (with
    gcc main.c -o main) I get the error 'glib-object.h' file not found.
    But I did installed glib...
  9. Do you allways need to use free after malloc?

    I see alot of tutorials using malloc, calloc for allocating memory space, but they are not freeing up the memory.
    Shouldn't free be used after malloc or calloc is been used?
Results 1 to 9 of 9