Hi how i convert this code to c++ ? Please help me
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace Login_server__Final_version_
{
class Program
{
static void Main(string[] args)
{
Thread one = new Thread(WriteY);
one.Start();
Thread two = new Thread(WriteX);
two.Start();
Console.ReadLine();
}
static void WriteY()
{
for (int i = 0; i < 20 ; i++ )
{
Console.WriteLine("y");
}
}
static void WriteX()
{
for (int i = 0; i < 20 ; i++ )
{
Console.WriteLine("x");
}
}
}
}