

InterviewSolution
Saved Bookmarks
1. |
Solve : String comparison? |
Answer» I would like to COMPARE two .cs (C# code) files and have the differences be marked in yellow.. or some such. Basically I followed a tutorial and the end result of the code done in the video is not the same as mine. The source file is provided. I want to compare this source file to mine and SEE the differences. Call me lazy. =P Treval Using a Linux or Unix OS allows for this compare easily using the diff command. Two useful flags you can specify when COMPARING files are -b (ignore blanks) and -i (ignore case). Quote diff -b -i cookies.old cookies.new Do you have to try WRITE a program to do the compare and want HELP with the code? If not why reinvent the wheel? ExamDiff is a freeware Windows 95/98/Me/NT/2000/XP/2003/Vista tool for visual file comparison. http://www.prestosoft.com/edp_examdiff.aspThanks man.you could also use the fc command (file compare), or WinDiff (in the SDK). |
|