i basically want to open a .cpp file modify it and save it. how do i do it using korn shell in unix?

i am trying to compile and run cplusplus code on a unix server, this is the first time me using unix platform, i forgot the namespace declaration so i need to modify the .cpp file. i dont know the command to modify the file, help please.

It's just a text file right? What flavor of Unix are you using? You'll probably want to use "vi" or "emacs". If you're not familiar with either of those, you'll probably want to google for some references. Neither of them can really be summed up :)

-G

thanks buddy, i will search for a vi tutorial.