copy file from linux to windows ssh

C++
#Download pscp.exe
#./ at the end downloads the file into current directory
scp -P 22 Linux-User@Linux-IpAddress:Exact file path ./
Source

Also in C++: