Linq Challenge in C++

Taking what seems to be a simple LINQ task (in C#) and converting it to C++.
«February»
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910