I wrote a program in VIM on linux. I compiled and ran it by typing ":! Gcc -o hw% & &. / Hw.c". After closing vim and returning, my ".C" file now is a big mess of weird characters (mostly @) and stuff that I suppose means it is executable, but .. the problem is that I don't I see my source code more. What really happened? Where can I find the source code? Is it lost forever?
Is it forever lost
If it looks like this:
Then pretty much yes. It seems that you compiled the source code and output the binary in the source source file.
, gcc vim. Resort : :!gcc -o hw % && ./hw.c. :w (, , ), .
:!gcc -o hw % && ./hw.c
:w