saving files in vi
Hello, I have been trying to save a cpp file in vi, all the commands I have seen don't do the trick. I always still have a cpp.swp extension. I have tried to use g++ on this file it doesn't recognize this, I don't think it should though. Also now when I ls this dir, it will not show the file when I know it's there I am looking at it right now through Nautilus...any help? thank you.