Create Grid line

No I want to do with Visual Studio c++