Snow in c++

hi, i new to c++ and i wanred to know how to write an algorthm for snow. So tit should produce randam particles falling from top to bottom. i am using visual c++ 6. Any help is much appreciated.