I am new to C program

I am currently using Putty in my class and using the Vi editor for this C class. My question is that when I save the program and want to compile then want to go back into the program to do more editing, my program became from C code to this kinda of code.. I do not know how it went to this but.. when I try to access my file it says that another file might be editing the same file you want to open. Then it asks me to swap files...its wierd so when this happens I always start over because I dont know what to do from there..Sorry I am still very new to C any help is awesome.


^A^C^@^@^@^H^@^@^@^G^@^@^@^D^@^@^@^E^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^B^@^@^@^C^@^@^@^A^@^@^@^@^@^@^@^F^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@3^@^@^@^@^@^@^@ü^B^@^@^R^@^@^.^@^@^@^@^@^@^@²^A^@^@^R^@^@^@L^@^@^@^@^@^@^@<9f>^A^@^@^R^@^@^@8^@^@^@^@^@^@^@â^@^@^@^R^@^@^@=^@^@^@L<85>^D^H^D^@^@^@^Q^@^O^@^A^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^U^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@_Jv_RegisterClasses^@__gmon_start__^@libc.so.6^@puts^@fork^@exit^@_IO_stdin_used^@__libc_start_main^@GLIBC_2.0^@^@^@^B^@^B^@^B^@^B^@^A^@^@^@^@^@^A^@^A^@$^@^@^@^P^@^@^@^@^@^@^@^Pii^M^@^@^B^@^^@^@^@^@^@^@^@°<96>^D^H^F^G^@^@Ã<96>^D^H^G^A^@^@Ã
>ì^Hè<9d>^@^@^@èô^@^@^@èÃ^A^@^@ÃÃ^@ÿ5¸<96>^D^Hÿ%¼<96>^D^H^@^@^@^@ÿ%Ã<96>^D^Hh^@^@^@^@éàÿÿÿÿ%ÃÃ<96>^D^H^G^C^@^@Ã<96>^D^H^G^D^@^@Ã<96>^D^H^G^G^@^@U<89>Ã¥<<96>^D^Hh ^@^@^@é ÿÿÿ^@^@^@^@^@^@^@^@^@^@^@^@1í^<89>á<83>äðPTRh<80><84>^D^Hh<90><84>^D^HQVhD<84>^D^Hè£ÿÿÿô<90><90>U<89>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O^@^@^@^@|^@^@^@^B^@B^@^@^@^D^A'^@^@^@/usr/src/packages/BUILD/glibc-2.4/cc-nptl/csu/crti.S^@/usr/src/packages/BUILD/glibc-2.4/csu^@GNU AS 2.16.91.0.5^@^A<80>|^@^@^@^B^@R^@^@^@^D^AÃ^@^@^@/usr/src/packages/BUILD/glibc-2.4/cc-nptl/csu/crtn.S^@/usr/src/packages/BUILD/glibc-2.4/csu^@GNU AS 2.16.91.0.5^@^A<80>^A^Q^A^P^F^R^A^Q^A%^N^S^K^C^N^[^N^@^@^B$^@^C^N^K^K>^K^@^@^C$^@^C^H^K^K>^K^@^@^D4^@^C^N:^K;^KI^S?^L^B
Last edited on
:O

The file is in use is said when you were editing a file in vi and than again open the same file in a new vi session. Don't open multiple sessions of the same file.

the thing which you have posted looks to be compiled binary. Its not at all looking any kind of text file.

Secondly, don't post this in windows forum. This is not a windows problem. Post it in may be beginner's forum.
Last edited on
Topic archived. No new replies allowed.