Search:

Type: Posts; User: Elysia

Search: Search took 0.12 seconds.

  1. Code::Blocks comes with an outdated version of...

    Code::Blocks comes with an outdated version of gcc, too. You should upgrade gcc by downloading the newest one for your OS and extracting it to the path where gcc exists in the code blocks folder....
  2. Sure, but to a newbie, it is the best advice...

    Sure, but to a newbie, it is the best advice possible.
  3. Again, forget that delete exists. Don't use it....

    Again, forget that delete exists. Don't use it.
    Whenever you use new, use a smart pointer, and never ever worry about delete.

    But you haven't explained why you are so eager to use new?
  4. Why use new at all? Just a b; b.test = "ds";...

    Why use new at all?
    Just

    a b;
    b.test = "ds";

    will suffice.
Results 1 to 4 of 4