08 January 2015

Some Code

```C++

include

#include #include "ClassCount.h"

int main()
{
ClassCount *c = new ClassCount[20];
std::cout«c[6].getNumInstances()«“\n”;

// or
std::cout«ClassCount::getNumInstances()«“\n”;

delete [] c;
}

```

//Create an (immutable) message type that your actor will respond to
public class Greet
{
    public Greet(string who)
    {
        Who = who;
    }
    public string Who { get;private set; }
}


blog comments powered by Disqus