Save a c++ file on unix....
Well, this is what I do:
~$emacs filename.cpp -nw
once in emacs, you create your program. To save it, hold down ctrl and press x - s. Then just hold ctrl and press x - c to exit.
then do a ls -l from the command line and you will see your file there.
or you could just create the file by typing this:
~$touch filename.cpp
then type ls -l and u will see the file and you can use the text editor of your choice.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment