![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Programmer
Join Date: Jun 2005
Posts: 92
Rep Power: 4
![]() |
Use strings or character arrays, your choice. Loop through each strand, comparing each base one by one. Then:
1) If the two bases are different, add the base to the diff_base string. 2) If the two bases are the same, and add a '0' to the diff_base string. Then you can see where the differences are by outputting the diff_base string, and all non-zero values are differences. |
|
|
|
|
|
#12 | ||
|
Hobbyist Programmer
Join Date: Dec 2005
Posts: 118
Rep Power: 0
![]() |
Quote:
Quote:
|
||
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|