Intro C++

Posted by kent at 4 December 2006

Category: c++, Dev

Stack – Hjelpeobjekter.

  • Variabler i blokker { /* i disse blokkene */ }
  • { int a,b,c; }

Heap – Strategiske objekter.

  • Variabler som skal brukes over tid.
  • Car *car = new Car();

class Point<double, 3> point; Point // fjerdekomponenten er 1
class Vector<double, 3> vector; // fjerdekomponenten er 0



class A
{
public:
// default A()
// standard A(params)
// copyconst A(const A &a)
}

VN:F [1.9.13_1145]
Rating: 0.0/5 (0 votes cast)
Share

No related posts.

1 Comment

  1. ivakjr says

    Hi My Name Is ivawgl.

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)

Leave a Reply

Leave a Reply
  • (required)
  • (required) (will not be published)