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*)...
Type: Posts; User: jenniferruurs
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*)...
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 ==...
Is there a difference between
int* ptr
and
int *ptr;
I think there is not, but I want to now for sure.
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?
Windows is not catching GCC at all, when I execute:
gcc --version
I get the message GCC not recognized in cm
I have installed cygwin in Windows
How can I execute a c file in Windows?
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...
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...
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?