I'm reading a tutorial from learncpp.com now, and I'm trying to create a variable(/pointer) with malloc/new, print it, and delete it.
#include <stdlib.h>
#include <stdio.h>
int main(int...
Type: Posts; User: mikalv
I'm reading a tutorial from learncpp.com now, and I'm trying to create a variable(/pointer) with malloc/new, print it, and delete it.
#include <stdlib.h>
#include <stdio.h>
int main(int...
so that's means that it's a way to make custom datatypes?
I've read that you can use typedef to create a alias of a datatype, as example:
typedef long miles; // define miles as an alias for long
but then I saw this code:
typedef QWidget *...