Hi, I am newbie to managed c++.
I need a code with main function that four threads run four instances of this class , Animal, simultaneously.
Each instance prints a different animal kind. "cat", "dog", .,.
where to create thread should be at?
Code:ref class Animal()
{
Animal(String ^s)
{
Console::Writeline(s)
}
// where the create thread should be at?
}