Search:

Type: Posts; User: mikalv

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,310

    malloc / new operator

    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...
  2. Replies
    4
    Views
    1,458

    so that's means that it's a way to make custom...

    so that's means that it's a way to make custom datatypes?
  3. Replies
    4
    Views
    1,458

    typedef question.

    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 *...
Results 1 to 3 of 3