Archived

This topic is now archived and is closed to further replies.

Delisk

Don't do this!

Recommended Posts

I did this mistake a few days ago! Since i know i will have lot of free time betwens my class at my college (one class was cancel) i chosse to work on my code. So i copy the file i wish to work on (java) to a word document (copy them from my editor). Things wokr well an i work on my code for about 4 hours (during wich i add some cool features). But when i copy my code back to my compiler (J++) it create me some problems. it take me a lot of time to fix my codes. And i dont even know why the compiler make me problems. Finaly i did not win any time with this....so please don''t make the same mistake I hope this post will help someone Delisk

Share this post


Link to post
Share on other sites
Word saves its documents in its own format, filled with extra information for fonts, styles, colours, revision info, etc etc. None of this is relevant to most compilers, as they just want a plain text file with your code in it. Although you cannot see the extra stuff in Word, it is there. You may have more luck if you save it out as a plain text file and load that into your compiler, but I''d recommend Notepad or something similarly simple if you want to work outside your normal IDE like Visual C++ or J++.

Share this post


Link to post
Share on other sites
one other thing that u have to be careful with: FTP servers

we''re working on this project and we''re supposed to upload the code to the FTP server everynight, so this is what happened:
i made all of the changes to the project and i uploaded the new version to the server and overwrite the old ones (by mistake i chose to MOVE the files instead of copying them)
the ftp server had problems with overwriting files and it locked the access to all of the files for some reasond, so we couldn''t download them afterwards.
after rebooting the server we found out that there are no files on the server anymore!!!! we lost the whole source code.

Share this post


Link to post
Share on other sites