Saturday, May 22, 2010

How do I save a visual C++ file on unix is there a command especially for visual C++ type programs?

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.


No comments:

Post a Comment