Menu

#35 printable characters vanished / words destroyed

open
nobody
None
5
2006-10-04
2006-10-04
Anonymous
No

Two absolutly identical files, containig the following
Code snippet are translated via -file-*.c. BOTH have
_different_ output whre englisch words are defect.
May be, it comes from corean characters in the first
C++ comment?
_______________________________________
//ver 0.94 rssi º¸Á¤.
Adapter->LastRSSI = ((Adapter->LastRSSI
)*6+CurRSSI*2)/8;
/* 2006.09.18, H&W, Reiss: CurRSSI is here
(pCmd->SNR - pCmd->NoiseFloor + 5)
* 1st we don't understand why not (
LastRSSI*3 + CurRSSI ) / 4
* 2nd we don't understand why not (
LastRSSI*3 + CurRSSI ) >> 2
* 3rd we don't understand what the idea is
behind this sucking valuated median
*/
_______________________________________

becomes:

_______________________________________
/* ver 0.94 rssi º¸Á¤. */
Adapter->LastRSSI= ( ( Adapter->LastRSSI ) *
6 + CurRSSI * 2 ) / 8;

/**
* 2006.09.18, H&W, Reiss: CurRSSI is here
(pCmd->SNR - pCmd->NoiseFloor + 5) 1st
* we don't understand why not ( LastRSSI*3 +
CurRSSI ) / 4 2nd we don't
* understand why not ( LastRSSI*3 + CurRSSI
) >> 2 3rd we don't understand what
* the idea is behind this sucking valuated
median
*/
_______________________________________

but in the second file, the word "median" is only
"media". There are still other "stolen" characters,
later in that files. Again inside a comment, this time
a closing '}' was stolen in the first file

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.