One quick question, is it possible to write a basic C++ program that can open a web browser and go to a site when the file is closed? or perhaps load the html text?

I am looking for something basic that will not require a GUI, Just a basic app. I am sophomore Com Sci student so I am just now starting to scratch the surface with OOP, also the only complier I own is DevC++. If anyone could point me in the right direction I would appreciate it